]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
wifi: rt2x00: remove unused delayed work data from link description
authorDmitry Antipov <dmantipov@yandex.ru>
Wed, 15 May 2024 15:28:24 +0000 (18:28 +0300)
committerKalle Valo <kvalo@kernel.org>
Mon, 20 May 2024 05:05:52 +0000 (08:05 +0300)
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>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://msgid.link/20240515152824.143537-1-dmantipov@yandex.ru
drivers/net/wireless/ralink/rt2x00/rt2x00.h

index 82af01448a0a8d2da7a20ae0cbb0e614875957a6..bb648f95dfdd9d51259de9765288c8697dfe6d61 100644 (file)
@@ -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 {