cw1200: remove some dead code
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 4 Dec 2015 13:15:23 +0000 (16:15 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 11 Dec 2015 11:15:08 +0000 (13:15 +0200)
commit09ad44efe722161bbc26317b6c2a43dfd86f023b
treebc8a37a1cc29fdc92c5705dd60178f871f2779c8
parentb513cac22ad6527bd85042766afa8eacf1adffbe
cw1200: remove some dead code

If the mode is NL80211_IFTYPE_UNSPECIFIED then we return success at the
start of the function so this condition is never true.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/st/cw1200/sta.c