From: Joe Perches Signed-off-by: Joe Perches Cc: Greg KH Signed-off-by: Andrew Morton --- drivers/base/driver.c | 3 --- 1 file changed, 3 deletions(-) diff -puN drivers/base/driver.c~drivers-base-driverc-remove-unused-to_dev-macro drivers/base/driver.c --- a/drivers/base/driver.c~drivers-base-driverc-remove-unused-to_dev-macro +++ a/drivers/base/driver.c @@ -16,9 +16,6 @@ #include #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); _