Thread (1 message) 1 message, 1 author, 2016-11-22

Re: [PATCH] mac80211: Remove unused 'struct rate_control_ref' variable

From: Johannes Berg <johannes@sipsolutions.net>
Date: 2016-11-22 07:30:30
Also in: netdev

On Mon, 2016-11-21 at 22:54 -0800, Kirtika Ruchandani wrote:
Commit 3b17fbf87d5d introduced sta_get_expected_throughput()
leaving variable 'struct rate_control_ref* ref' set but unused.
Compiling with W=1 gives the following warning, fix it.

net/mac80211/sta_info.c: In function ‘sta_set_sinfo’:
net/mac80211/sta_info.c:2052:27: warning: variable ‘ref’ set but not
used [-Wunused-but-set-variable]
Applied all three of these, thanks Kirtika.

johannes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help