From: Stefan Richter Date: Sat, 18 Nov 2006 22:16:11 +0000 (+0100) Subject: ieee1394: nodemgr: remove duplicate assignment X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cec1a31196a6edb1397ffb8fbdc0410dd8946d78;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git ieee1394: nodemgr: remove duplicate assignment Signed-off-by: Stefan Richter --- 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)