diff options
author | Dongliang Mu <mudongliangabcd@gmail.com> | 2021-01-23 13:11:02 +0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-01-26 17:06:47 -0800 |
commit | 2961f562bb7b8b3cbaeaf5d9f0ea0fa8e72cc066 (patch) | |
tree | 1751dbd60053c303bc50a090dbcb05aade329027 /drivers/net/usb/usbnet.c | |
parent | 3e841bacf72fd5fd98172c42bbc9ae7d461b6304 (diff) | |
download | linux-2961f562bb7b8b3cbaeaf5d9f0ea0fa8e72cc066.tar.gz linux-2961f562bb7b8b3cbaeaf5d9f0ea0fa8e72cc066.tar.bz2 linux-2961f562bb7b8b3cbaeaf5d9f0ea0fa8e72cc066.zip |
usbnet: fix the indentation of one code snippet
Every line of code should start with tab (8 characters)
Signed-off-by: Dongliang Mu <mudongliangabcd@gmail.com>
Link: https://lore.kernel.org/r/20210123051102.1091541-1-mudongliangabcd@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/usb/usbnet.c')
-rw-r--r-- | drivers/net/usb/usbnet.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/usb/usbnet.c b/drivers/net/usb/usbnet.c index 1447da1d5729..305c5f7b9a9b 100644 --- a/drivers/net/usb/usbnet.c +++ b/drivers/net/usb/usbnet.c @@ -1964,12 +1964,12 @@ static int __usbnet_read_cmd(struct usbnet *dev, u8 cmd, u8 reqtype, cmd, reqtype, value, index, buf, size, USB_CTRL_GET_TIMEOUT); if (err > 0 && err <= size) { - if (data) - memcpy(data, buf, err); - else - netdev_dbg(dev->net, - "Huh? Data requested but thrown away.\n"); - } + if (data) + memcpy(data, buf, err); + else + netdev_dbg(dev->net, + "Huh? Data requested but thrown away.\n"); + } kfree(buf); out: return err; |