Skip to content

Commit

Permalink
lan78xx: Clean up some inconsistent indenting
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jiapeng Chong authored and David S. Miller committed Nov 24, 2021
1 parent 91eddd3 commit 4593222
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/net/usb/lan78xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
}

Expand Down

0 comments on commit 4593222

Please sign in to comment.