summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2008-07-30 12:29:20 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2008-08-21 10:15:35 -0700
commit26d02d1db7d84729b1e49789341e69a493c60ceb (patch)
tree12a860098bac045c7e6e2cd857191c01a304731e /drivers
parentac60fc218caacba5ae3bc70cc835cb9f16794d89 (diff)
downloadop-kernel-dev-26d02d1db7d84729b1e49789341e69a493c60ceb.zip
op-kernel-dev-26d02d1db7d84729b1e49789341e69a493c60ceb.tar.gz
drivers/base/driver.c: remove unused to_dev() macro
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/base/driver.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/base/driver.c b/drivers/base/driver.c
index 2ef5acf..1e2bda7 100644
--- 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);
OpenPOWER on IntegriCloud