Message ID | 20240515152824.143537-1-dmantipov@yandex.ru |
---|---|
State | New |
Headers | show |
Series | rt2x00: remove unused delayed work data from link description | expand |
Dmitry Antipov <dmantipov@yandex.ru> wrote: > Remove unused 'agc_work' and 'vco_work' members of 'struct link'. > This follows commit d96324703ffa ("rt2x00: merge agc and vco works > with link tuner") where AGC and VCO calibration code was completely > redesigned. Compile tested only. > > Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru> > Acked-by: Stanislaw Gruszka <stf_xl@wp.pl> Patch applied to wireless-next.git, thanks. 2785ea9673a7 wifi: rt2x00: remove unused delayed work data from link description
diff --git a/drivers/net/wireless/ralink/rt2x00/rt2x00.h b/drivers/net/wireless/ralink/rt2x00/rt2x00.h index 82af01448a0a..bb648f95dfdd 100644 --- a/drivers/net/wireless/ralink/rt2x00/rt2x00.h +++ b/drivers/net/wireless/ralink/rt2x00/rt2x00.h @@ -335,16 +335,6 @@ struct link { struct delayed_work watchdog_work; unsigned int watchdog_interval; unsigned int watchdog; - - /* - * Work structure for scheduling periodic AGC adjustments. - */ - struct delayed_work agc_work; - - /* - * Work structure for scheduling periodic VCO calibration. - */ - struct delayed_work vco_work; }; enum rt2x00_delayed_flags {
Remove unused 'agc_work' and 'vco_work' members of 'struct link'. This follows commit d96324703ffa ("rt2x00: merge agc and vco works with link tuner") where AGC and VCO calibration code was completely redesigned. Compile tested only. Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru> --- drivers/net/wireless/ralink/rt2x00/rt2x00.h | 10 ---------- 1 file changed, 10 deletions(-)