Skip to content

Commit

Permalink
drivers/base/driver.c: remove unused to_dev() macro
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Joe Perches authored and Greg Kroah-Hartman committed Aug 21, 2008
1 parent ac60fc2 commit 26d02d1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/base/driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 26d02d1

Please sign in to comment.