]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
net: ch9200: remove unnecessary return
authorChen Zhou <chenzhou10@huawei.com>
Tue, 7 Jan 2020 09:28:56 +0000 (17:28 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Jan 2020 21:30:36 +0000 (13:30 -0800)
The return is not needed, remove it.

Signed-off-by: Chen Zhou <chenzhou10@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/ch9200.c

index 3c2dc7474d4a19ec04a490d9ebcb9542e3267f5e..d7f3b70d5477542fa106bce03e1f6e4f75395c2b 100644 (file)
@@ -130,8 +130,6 @@ static int control_read(struct usbnet *dev,
                err = -EINVAL;
        kfree(buf);
 
-       return err;
-
 err_out:
        return err;
 }