iwlwifi: pcie: rx: use rxq queue_size instead of constant
authorJohannes Berg <johannes.berg@intel.com>
Fri, 27 Sep 2019 09:11:20 +0000 (11:11 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 20 Nov 2019 10:28:55 +0000 (12:28 +0200)
commit5661925a9b383f7cb348c196c6c69ab92f08102d
tree07994f29b889ffd3531d91523eb768c0d462a79f
parent924f838b6b368f81bab7778fa829def1e8552246
iwlwifi: pcie: rx: use rxq queue_size instead of constant

This is a little less efficient now as it's known to be a
multiqueue device in this function, but a future patch will
have to use a variable here anyway, so use rxq->queue_size
now instead to make it clearer.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/pcie/rx.c