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-Tag: v2.6.27-rc5~54^2~11 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26d02d1db7d84729b1e49789341e69a493c60ceb;p=linux-2.6 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 2ef5acf436..1e2bda780e 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);