staging: netlogic: Fix multiple irq assignments in a single line
authorLaura Garcia Liebana <nevola@gmail.com>
Sun, 14 Feb 2016 13:10:11 +0000 (14:10 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 Feb 2016 00:49:09 +0000 (16:49 -0800)
Avoid the use of multiple assignments in a single line. Checkpatch
found this issue.

Signed-off-by: Laura Garcia Liebana <nevola@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/netlogic/platform_net.c

index 7806c2bc3af34299b5bb439e943f56d05cb468a6..74e154f62c703e5ab847d2486ef9b5909716f3ad 100644 (file)
@@ -86,7 +86,8 @@ static void xlr_resource_init(struct resource *res, int offset, int irq)
 
        res++;
        res->name = "gmac";
-       res->start = res->end = irq;
+       res->start = irq;
+       res->end = irq;
        res->flags = IORESOURCE_IRQ;
 }