staging: ks7010: remove some dead code from ks_wlan_set_essid function
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Wed, 28 Mar 2018 15:24:25 +0000 (17:24 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 Mar 2018 09:49:12 +0000 (11:49 +0200)
commitc0a2a25460a755db63750eeea89a74657e7eda0d
tree30d2955c96c334716f102f5b651ea19f356674aa
parentc61cc2cc3be358da10121d119356dfe67fe240f2
staging: ks7010: remove some dead code from ks_wlan_set_essid function

This commit removes death code which is not being used at all. The
statements which are contained inside the else block of preprocessor
#if 1 directive are no sense. Also remove #if 1 preprocessor stuff
just because it is just true and being executed always.
This change improves a bit readability of ks_wlan_set_essid function.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks_wlan_net.c