提交 26d02d1d 编写于 作者: J Joe Perches 提交者: Greg Kroah-Hartman

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

Signed-off-by: NJoe Perches <joe@perches.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 ac60fc21
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册