projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac60fc2
)
drivers/base/driver.c: remove unused to_dev() macro
author
Joe Perches
<joe@perches.com>
Wed, 30 Jul 2008 19:29:20 +0000
(12:29 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Thu, 21 Aug 2008 17:15:35 +0000
(10:15 -0700)
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/driver.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/base/driver.c
b/drivers/base/driver.c
index 2ef5acf4368b9e8deef4440d865a87cef8d0b0a6..1e2bda780e48268eb38b834f7078644689b5dc7b 100644
(file)
--- a/
drivers/base/driver.c
+++ b/
drivers/base/driver.c
@@
-16,9
+16,6
@@
#include <linux/string.h>
#include "base.h"
-#define to_dev(node) container_of(node, struct device, driver_list)
-
-
static struct device *next_device(struct klist_iter *i)
{
struct klist_node *n = klist_next(i);