iwlegacy: cleanup end of il_send_add_sta()
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 4 Dec 2015 13:16:45 +0000 (16:16 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 11 Dec 2015 11:15:49 +0000 (13:15 +0200)
commit3f0267f6f76d56285095f88a8908daf8be0fe56b
treea4e1f9efed9f761e40c2aef512fad1510b223e3d
parent09ad44efe722161bbc26317b6c2a43dfd86f023b
iwlegacy: cleanup end of il_send_add_sta()

This code causes a static checker warning because we check for
"if (ret == 0)" but we have already had verified that was true.  Clean
it up a little.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/intel/iwlegacy/common.c