iwlwifi: pcie: clean iwl_pcie_[rt]xq_inc_wr_ptr a bit
authorEliad Peller <eliad@wizery.com>
Wed, 5 Feb 2014 17:12:24 +0000 (19:12 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 13 Feb 2014 08:16:19 +0000 (10:16 +0200)
commit5045388ceec19979e816f229f07547ec7067ccd5
treec9cdb327040042b32270794084b09b240e645192
parente57f1734d87aa0e9a00905ed08888f0c62f56227
iwlwifi: pcie: clean iwl_pcie_[rt]xq_inc_wr_ptr a bit

The various code blocks in iwl_pcie_[rt]xq_inc_wr_ptr
finally do the same things, so just merge them
all and make the functions cleaner.

Signed-off-by: Eliad Peller <eliadx.peller@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/pcie/rx.c
drivers/net/wireless/iwlwifi/pcie/tx.c