drivers/base/driver.c: remove unused to_dev() macro

Signed-off-by: Joe Perches <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
Joe Perches 2008-07-30 12:29:20 -07:00 • committed by Greg Kroah-Hartman
commit 26d02d1db7

View file

@ -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);