]> git.baikalelectronics.ru Git - kernel.git/commit
rndis_wlan: remove pointless check from rndis_scan()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Mon, 10 Sep 2012 07:21:59 +0000 (15:21 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 11 Sep 2012 19:31:44 +0000 (15:31 -0400)
commit876af221dbf924b7043fa7430e915876bfd4dd32
treed945a7d0957d585511f173c07a88403634466015
parentc07c56f8855030d40c441e48547a707f619a404f
rndis_wlan: remove pointless check from rndis_scan()

In rndis_scan(), 'request' is actually always valid pointer and
the !request check is unneeded, so remove it.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rndis_wlan.c