]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: remove unneeded check
authorDan Carpenter <error27@gmail.com>
Mon, 7 Feb 2011 19:03:35 +0000 (22:03 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 7 Feb 2011 21:18:28 +0000 (16:18 -0500)
commit585be3308a4a25b539cc29c8105df446af95e343
treeafd41efc01403af33b5c86bd21e74cb881a57571
parent4ac5564b86237786c2e4b097cbde047f8dbb5a7d
mac80211: remove unneeded check

"ap" is the address of sdata->u.ap so it can never be NULL here.  Also
we dereferenced it on the previous line.  I removed the check.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/tx.c