mirror of https://gitee.com/openkylin/linux.git
staging: ks7010: remove unnecessary else statement
This patch removes else statement which is not usefull after a return. Issue found by checkpatch.pl. Signed-off-by: Ebru Akagunduz <ebru.akagunduz@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
7a98abccd2
commit
e33c759a1e
|
@ -3412,7 +3412,7 @@ int ks_wlan_open(struct net_device *dev)
|
|||
if (!priv->mac_address_valid) {
|
||||
netdev_err(dev, "ks_wlan : %s Not READY !!\n", dev->name);
|
||||
return -EBUSY;
|
||||
} else
|
||||
}
|
||||
netif_start_queue(dev);
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue