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:
Ebru Akagunduz 2016-10-07 14:17:49 +03:00 committed by Greg Kroah-Hartman
parent 7a98abccd2
commit e33c759a1e
1 changed files with 2 additions and 2 deletions

View File

@ -3412,8 +3412,8 @@ 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);
}
netif_start_queue(dev);
return 0;
}