Re: mwifiex: remove an unneeded condition

2015-12-11 Thread Kalle Valo
> 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 Thanks, applied to wireless-drivers-next.git. Kalle Valo -- To unsubscribe from this list: send

[patch] mwifiex: remove an unneeded condition

2015-12-04 Thread Dan Carpenter
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 diff --git a/drivers/net/wireless/marvell/mwifiex/sta_ioctl.c