projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53b1898
)
mac80211: remove unused assignment
author
Johannes Berg
<johannes.berg@intel.com>
Wed, 14 Sep 2016 07:58:31 +0000
(09:58 +0200)
committer
Johannes Berg
<johannes.berg@intel.com>
Thu, 15 Sep 2016 14:46:18 +0000
(16:46 +0200)
The next line overwrites this assignment, so remove it; there's
no real value in using it for the next assignment either.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/util.c
patch
|
blob
|
blame
|
history
diff --git
a/net/mac80211/util.c
b/net/mac80211/util.c
index e777c2a6568ff6068e5a58ac3f69775b0eb2e930..b6865d88448761ff9a679b36e25d764da9669768 100644
(file)
--- a/
net/mac80211/util.c
+++ b/
net/mac80211/util.c
@@
-2555,7
+2555,6
@@
int ieee80211_add_srates_ie(struct ieee80211_sub_if_data *sdata,
if (need_basic && basic_rates & BIT(i))
basic = 0x80;
- rate = sband->bitrates[i].bitrate;
rate = DIV_ROUND_UP(sband->bitrates[i].bitrate,
5 * (1 << shift));
*pos++ = basic | (u8) rate;