linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] rt2x00: remove unused delayed work data from link description
@ 2024-05-15 15:28 Dmitry Antipov
  2024-05-18  9:32 ` Stanislaw Gruszka
  2024-05-20  5:06 ` wifi: " Kalle Valo
  0 siblings, 2 replies; 3+ messages in thread
From: Dmitry Antipov @ 2024-05-15 15:28 UTC (permalink / raw)
  To: Stanislaw Gruszka; +Cc: Kalle Valo, linux-wireless, Dmitry Antipov

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(-)

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 {
-- 
2.45.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] rt2x00: remove unused delayed work data from link description
  2024-05-15 15:28 [PATCH] rt2x00: remove unused delayed work data from link description Dmitry Antipov
@ 2024-05-18  9:32 ` Stanislaw Gruszka
  2024-05-20  5:06 ` wifi: " Kalle Valo
  1 sibling, 0 replies; 3+ messages in thread
From: Stanislaw Gruszka @ 2024-05-18  9:32 UTC (permalink / raw)
  To: Dmitry Antipov; +Cc: Kalle Valo, linux-wireless

On Wed, May 15, 2024 at 06:28:24PM +0300, Dmitry Antipov 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>


> ---
>  drivers/net/wireless/ralink/rt2x00/rt2x00.h | 10 ----------
>  1 file changed, 10 deletions(-)
> 
> 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 {
> -- 
> 2.45.0
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: wifi: rt2x00: remove unused delayed work data from link description
  2024-05-15 15:28 [PATCH] rt2x00: remove unused delayed work data from link description Dmitry Antipov
  2024-05-18  9:32 ` Stanislaw Gruszka
@ 2024-05-20  5:06 ` Kalle Valo
  1 sibling, 0 replies; 3+ messages in thread
From: Kalle Valo @ 2024-05-20  5:06 UTC (permalink / raw)
  To: Dmitry Antipov; +Cc: Stanislaw Gruszka, linux-wireless, Dmitry Antipov

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

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20240515152824.143537-1-dmantipov@yandex.ru/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-05-20  5:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-15 15:28 [PATCH] rt2x00: remove unused delayed work data from link description Dmitry Antipov
2024-05-18  9:32 ` Stanislaw Gruszka
2024-05-20  5:06 ` wifi: " Kalle Valo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).