Staging: rtl8192u: Remove check of ieee in rtl819x_BAProc.c
authorVaishali Thakkar <vthakkar1994@gmail.com>
Sat, 10 Jan 2015 10:35:32 +0000 (16:05 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Jan 2015 22:21:59 +0000 (14:21 -0800)
commit8dcb6a251aad77d5699486596ea740d5cb0d1570
treed908405f40a94f1a1c614ab18c4e065f48b1fef6
parente77e19ac0fd5b9facdd4399972034c82aee770d1
Staging: rtl8192u: Remove check of ieee in rtl819x_BAProc.c

This patch fixes following smatch warning:

drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c:117
ieee80211_ADDBA() warn: variable dereferenced before check 'ieee' (see line 114)

As ieee can not be NULL at this point, all such checks are removed.

Signed-off-by: Vaishali Thakkar <vthakkar1994@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c