The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH] staging: vt6655: remove unused variable byMinChannel
@ 2021-12-04 10:30 Alberto Merciai
  2021-12-04 11:29 ` Pavel Skripkin
  0 siblings, 1 reply; 3+ messages in thread
From: Alberto Merciai @ 2021-12-04 10:30 UTC (permalink / raw)
  To: alb3rt0.m3rciai
  Cc: Forest Bond, Greg Kroah-Hartman, Tommaso Merciai,
	Karolina Drobnik, Dan Carpenter, Aldas Taraškevičius,
	Lucas Henneman, linux-staging, linux-kernel

Remove set but not used variable byMinChannel.

---
 drivers/staging/vt6655/device.h      | 1 -
 drivers/staging/vt6655/device_main.c | 2 --
 2 files changed, 3 deletions(-)

diff --git a/drivers/staging/vt6655/device.h b/drivers/staging/vt6655/device.h
index 9e5f060f3784..b2aee3b8bc8d 100644
--- a/drivers/staging/vt6655/device.h
+++ b/drivers/staging/vt6655/device.h
@@ -200,7 +200,6 @@ struct vnt_private {
 	unsigned char byTopOFDMBasicRate;
 	unsigned char byTopCCKBasicRate;
 
-	unsigned char byMinChannel;
 	unsigned char byMaxChannel;
 
 	unsigned char preamble_type;
diff --git a/drivers/staging/vt6655/device_main.c b/drivers/staging/vt6655/device_main.c
index 6c5140e29f6b..d008b22cb98a 100644
--- a/drivers/staging/vt6655/device_main.c
+++ b/drivers/staging/vt6655/device_main.c
@@ -227,8 +227,6 @@ static void device_init_registers(struct vnt_private *priv)
 
 	spin_unlock_irqrestore(&priv->lock, flags);
 
-	/* Get Channel range */
-	priv->byMinChannel = 1;
 	priv->byMaxChannel = CB_MAX_CHANNEL;
 
 	/* Get Antena */
-- 
2.25.1


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

* Re: [PATCH] staging: vt6655: remove unused variable byMinChannel
  2021-12-04 10:30 [PATCH] staging: vt6655: remove unused variable byMinChannel Alberto Merciai
@ 2021-12-04 11:29 ` Pavel Skripkin
  2021-12-04 11:31   ` Alberto Merciai
  0 siblings, 1 reply; 3+ messages in thread
From: Pavel Skripkin @ 2021-12-04 11:29 UTC (permalink / raw)
  To: Alberto Merciai
  Cc: Forest Bond, Greg Kroah-Hartman, Tommaso Merciai,
	Karolina Drobnik, Dan Carpenter, Aldas Taraškevičius,
	Lucas Henneman, linux-staging, linux-kernel

On 12/4/21 13:30, Alberto Merciai wrote:
> Remove set but not used variable byMinChannel.
> 
> ---

Signed-off-by: is missing :)



With regards,
Pavel Skripkin

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

* Re: [PATCH] staging: vt6655: remove unused variable byMinChannel
  2021-12-04 11:29 ` Pavel Skripkin
@ 2021-12-04 11:31   ` Alberto Merciai
  0 siblings, 0 replies; 3+ messages in thread
From: Alberto Merciai @ 2021-12-04 11:31 UTC (permalink / raw)
  To: Pavel Skripkin
  Cc: Forest Bond, Greg Kroah-Hartman, Tommaso Merciai,
	Karolina Drobnik, Dan Carpenter, Aldas Taraškevičius,
	Lucas Henneman, linux-staging, linux-kernel

On Sat, Dec 04, 2021 at 02:29:32PM +0300, Pavel Skripkin wrote:
> On 12/4/21 13:30, Alberto Merciai wrote:
> > Remove set but not used variable byMinChannel.
> > 
> > ---
> 
> Signed-off-by: is missing :)
ouch, forgot it.. :P

Thanks,

Alberto

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

end of thread, other threads:[~2021-12-04 11:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-04 10:30 [PATCH] staging: vt6655: remove unused variable byMinChannel Alberto Merciai
2021-12-04 11:29 ` Pavel Skripkin
2021-12-04 11:31   ` Alberto Merciai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox