iwlwifi: pcie: get rid of q->n_bd
authorJohannes Berg <johannes.berg@intel.com>
Thu, 24 Apr 2014 07:57:40 +0000 (09:57 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 6 May 2014 18:39:05 +0000 (21:39 +0300)
commit83f32a4b4aa73f36ecc799e22174fe78ed5cb2af
tree15977b0b4d3020ba66e3598fc4353a1670937a48
parent6d6e68f8396269608cb1580a3b14be72069bb5f3
iwlwifi: pcie: get rid of q->n_bd

This variable always tracks a constant value (256) so there's
no need to have it. Removing it simplifies code generation,
reducing the .text size (by about 240 bytes on x86-64.)

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/pcie/internal.h
drivers/net/wireless/iwlwifi/pcie/rx.c
drivers/net/wireless/iwlwifi/pcie/trans.c
drivers/net/wireless/iwlwifi/pcie/tx.c