]> git.karo-electronics.de Git - linux-beck.git/commit
mwifiex: remove an unneeded condition
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 4 Dec 2015 13:17:15 +0000 (16:17 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 11 Dec 2015 11:16:50 +0000 (13:16 +0200)
commit97276c10cb45380ba5d5772b616fc33b55b5bf40
tree2dfcc7b52374ebbbc55646b579cc78fb2548c006
parent3f0267f6f76d56285095f88a8908daf8be0fe56b
mwifiex: remove an unneeded condition

We already know that "wep_key->key_length" is set so there is no need to
check again.  Also the last curly brace was indented too far.

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