mac80211: airtime: avoid variable shadowing
authorJohannes Berg <johannes.berg@intel.com>
Wed, 2 Feb 2022 08:49:43 +0000 (10:49 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 4 Feb 2022 15:25:55 +0000 (16:25 +0100)
commitae962e5f630fe453b3f93a042f6fbce7ad3e6179
treebadbe732e2a7a022f774bb6ab251c5cc38d5859a
parent6ad1dce5ebda90b6b065253a4f23a5eab7732607
mac80211: airtime: avoid variable shadowing

This isn't very dangerous, since the outer 'rate' variable
isn't even a pointer, but it's still confusing, so use a
different variable inside.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20220202104617.8e9b2bfaa0f5.I41c53f754eef28206d04dafc7263ccb99b63d490@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/airtime.c