소스 검색

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>
Joe Perches 17 년 전
부모
커밋
26d02d1db7
1개의 변경된 파일0개의 추가작업 그리고 3개의 파일을 삭제
  1. 0 3
      drivers/base/driver.c

+ 0 - 3
drivers/base/driver.c

@@ -16,9 +16,6 @@
 #include <linux/string.h>
 #include <linux/string.h>
 #include "base.h"
 #include "base.h"
 
 
-#define to_dev(node) container_of(node, struct device, driver_list)
-
-
 static struct device *next_device(struct klist_iter *i)
 static struct device *next_device(struct klist_iter *i)
 {
 {
 	struct klist_node *n = klist_next(i);
 	struct klist_node *n = klist_next(i);