linux/drivers/net/wireless/intel
Colin Ian King b38c395f16 iwlwifi: mvm: remove division by size of sizeof(struct ieee80211_wmm_rule)
The subtraction of two struct ieee80211_wmm_rule pointers leaves a result
that is automatically scaled down by the size of the size of pointed-to
type, hence the division by sizeof(struct ieee80211_wmm_rule) is
bogus and should be removed.

Detected by CoverityScan, CID#1467777 ("Extra sizeof expression")

Fixes: 77e30e10ee ("iwlwifi: mvm: query regdb for wmm rule if needed")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
2018-05-30 09:49:38 +03:00
..
ipw2x00 ipw2200: fix spelling mistake: "functionalitis" -> "functionalities" 2018-05-04 15:37:37 +03:00
iwlegacy wireless: Use octal not symbolic permissions 2018-03-27 11:01:13 +03:00
iwlwifi iwlwifi: mvm: remove division by size of sizeof(struct ieee80211_wmm_rule) 2018-05-30 09:49:38 +03:00
Kconfig net/wireless: fix spaces and grammar copy/paste in vendor Kconfig help text 2018-03-13 18:52:25 +02:00
Makefile