summaryrefslogtreecommitdiffstats
path: root/drivers/ieee1394/nodemgr.c
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2006-11-18 23:16:11 +0100
committerStefan Richter <stefanr@s5r6.in-berlin.de>2006-12-07 23:06:05 +0100
commitcec1a31196a6edb1397ffb8fbdc0410dd8946d78 (patch)
tree68e549242c3a5b692a32e7328fcbc6683496dbd8 /drivers/ieee1394/nodemgr.c
parentsbp2: make 1bit bitfield unsigned (diff)
downloadlinux-cec1a31196a6edb1397ffb8fbdc0410dd8946d78.tar.xz
linux-cec1a31196a6edb1397ffb8fbdc0410dd8946d78.zip
ieee1394: nodemgr: remove duplicate assignment
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/ieee1394/nodemgr.c')
-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)
static void nodemgr_remove_ne(struct node_entry *ne)
{
- struct device *dev = &ne->device;
+ struct device *dev;
dev = get_device(&ne->device);
if (!dev)