]> git.baikalelectronics.ru Git - kernel.git/commit
mwifiex: Remove redundant skb_queue_empty checks
authorYogesh Ashok Powar <yogeshp@marvell.com>
Mon, 6 Jun 2011 09:20:58 +0000 (14:50 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 7 Jun 2011 18:44:02 +0000 (14:44 -0400)
commit62d0b148eeeebf4b93717cac9b71d1955570283a
tree7b675eca00a1a3d40271b2c41018a27fa817a711
parentbfcaf65a9ab0bff6bc6b88d36093d5160d22caf0
mwifiex: Remove redundant skb_queue_empty checks

The check of skb list empty before calling skb_peek and skb_dequeue is
redundant. These functions returns NULL if the list is empty.

Signed-off-by: Yogesh Ashok Powar <yogeshp@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/11n_aggr.c