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)
commita8fe32937e4e55c9ed73c79800198d137a1b968a
tree7b675eca00a1a3d40271b2c41018a27fa817a711
parentfcf2176c87af77e5ee947edaf8e390bc67b729d8
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