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)
commit3ad97fbcc233a295f2ccc2c6bdeb32323e360a5e
treeafd41efc01403af33b5c86bd21e74cb881a57571
parent3a2329f2680796b0c09ff207803ea880a481c3a4
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