lan78xx: Clean up some inconsistent indenting
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Wed, 24 Nov 2021 10:09:56 +0000 (18:09 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Nov 2021 11:55:31 +0000 (11:55 +0000)
Eliminate the follow smatch warning:

drivers/net/usb/lan78xx.c:4961 lan78xx_resume() warn: inconsistent
indenting.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/lan78xx.c

index a9e7cbe..2bfb59a 100644 (file)
@@ -4957,8 +4957,7 @@ static int lan78xx_resume(struct usb_interface *intf)
                        if (ret < 0) {
                                if (ret == -ENODEV)
                                        netif_device_detach(dev->net);
-
-                       netdev_warn(dev->net, "Failed to submit intr URB");
+                               netdev_warn(dev->net, "Failed to submit intr URB");
                        }
                }