From: Joe Perches Date: Wed, 30 Jul 2008 19:29:20 +0000 (-0700) Subject: drivers/base/driver.c: remove unused to_dev() macro X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=26d02d1db7d84729b1e49789341e69a493c60ceb;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git drivers/base/driver.c: remove unused to_dev() macro Signed-off-by: Joe Perches Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/base/driver.c b/drivers/base/driver.c index 2ef5acf4368b..1e2bda780e48 100644 --- a/drivers/base/driver.c +++ b/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);