]> git.karo-electronics.de Git - linux-beck.git/commit
iwlwifi: mvm: cleanup skb queue functions use
authorSara Sharon <sara.sharon@intel.com>
Wed, 3 Aug 2016 11:08:00 +0000 (14:08 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Mon, 19 Sep 2016 06:09:19 +0000 (09:09 +0300)
commit5a710b8606cc3ec12f60a400248a051743ee35d1
tree804fd9bfb4adc7b5953181b296b20c3eccb35f35
parent8352e62ac2c4ebbfe95c95561f9f16d0ff06f375
iwlwifi: mvm: cleanup skb queue functions use

Use skb_queue_empty() and not skb_peek_tail() to check for
empty list.
Avoid a redundant check as well - loop will take care of it.

Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c