ipw2200: remove redundant check of rc < 0
authorColin Ian King <colin.king@canonical.com>
Mon, 27 Feb 2017 23:40:19 +0000 (23:40 +0000)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 20 Mar 2017 17:16:24 +0000 (19:16 +0200)
commit889cdff72b85cc553d7820de071887593690b7d2
tree91f4fda43d3d5923de097cc7a1bfcb777f8b2c10
parent66ded1f8b33cdd9d6d3e20f5f8dd23615a110e70
ipw2200: remove redundant check of rc < 0

The check for rc < 0 is always false so the check is redundant
and can be removed.

Detected with CoverityScan, CID#101143 ("Logically dead code")

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/intel/ipw2x00/ipw2200.c