mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-07-18 01:23:36 -04:00
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:
|
||
---|---|---|
.. | ||
ipw2x00 | ||
iwlegacy | ||
iwlwifi | ||
Kconfig | ||
Makefile |