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