aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/ieee1394/nodemgr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ieee1394/nodemgr.c b/drivers/ieee1394/nodemgr.c
index 89a4bd4c842d..d672b4db5b74 100644
--- a/drivers/ieee1394/nodemgr.c
+++ b/drivers/ieee1394/nodemgr.c
@@ -798,7 +798,7 @@ static void nodemgr_remove_uds(struct node_entry *ne)
798 798
799static void nodemgr_remove_ne(struct node_entry *ne) 799static void nodemgr_remove_ne(struct node_entry *ne)
800{ 800{
801 struct device *dev = &ne->device; 801 struct device *dev;
802 802
803 dev = get_device(&ne->device); 803 dev = get_device(&ne->device);
804 if (!dev) 804 if (!dev)