iwlwifi: pcie: refactor RXBs reclaiming code
authorSara Sharon <sara.sharon@intel.com>
Mon, 15 Feb 2016 17:30:49 +0000 (19:30 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 6 Mar 2016 20:00:17 +0000 (22:00 +0200)
commitd56daea43c5a5d72e67ac60d97734d5823b457d6
treeec4744d6ea3bdb196fea743ccdff60b391f8473c
parent4479a899f75cdbd0406d29701d459be5cadaf00b
iwlwifi: pcie: refactor RXBs reclaiming code

Change the code to move rxbs directly from the allocator's
list to the queue's free list. This makes the code more
readable, saves the interim array and the double loop over
the free RBs.

Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/intel/iwlwifi/pcie/rx.c