All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] staging: vt6656: Remove unused bb_vga_0 and vt3342_vnt_threshold
@ 2022-03-14 19:31 Philipp Hortmann
  2022-03-14 19:31 ` [PATCH 1/2] staging: vt6656: Removed unused variable bb_vga_0 Philipp Hortmann
  2022-03-14 19:31 ` [PATCH 2/2] staging: vt6656: Removed unused variable vt3342_vnt_threshold Philipp Hortmann
  0 siblings, 2 replies; 4+ messages in thread
From: Philipp Hortmann @ 2022-03-14 19:31 UTC (permalink / raw)
  To: Forest Bond, Greg Kroah-Hartman, linux-staging, linux-kernel

Remove unused variables bb_vga_0 and vt3342_vnt_threshold
missing in staging: vt6656: Remove unused 5GHz support
Reported-by: kernel test robot <lkp@intel.com>

---
Tested with vt6656 on mini PCIe card (connected over USB)
which is using rf_type: RF_VT3226D0 (2.4GHz only)

Philipp Hortmann (2):
  staging: vt6656: Removed unused variable bb_vga_0
  staging: vt6656: Removed unused variable vt3342_vnt_threshold

 drivers/staging/vt6656/baseband.c | 24 ------------------------
 drivers/staging/vt6656/card.c     |  2 --
 2 files changed, 26 deletions(-)

-- 
2.25.1


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

* [PATCH 1/2] staging: vt6656: Removed unused variable bb_vga_0
  2022-03-14 19:31 [PATCH 0/2] staging: vt6656: Remove unused bb_vga_0 and vt3342_vnt_threshold Philipp Hortmann
@ 2022-03-14 19:31 ` Philipp Hortmann
  2022-03-14 19:31 ` [PATCH 2/2] staging: vt6656: Removed unused variable vt3342_vnt_threshold Philipp Hortmann
  1 sibling, 0 replies; 4+ messages in thread
From: Philipp Hortmann @ 2022-03-14 19:31 UTC (permalink / raw)
  To: Forest Bond, Greg Kroah-Hartman, linux-staging, linux-kernel

Missing part of staging: vt6656: Remove unused rf_type in card.c
Reported-by: kernel test robot <lkp@intel.com>

Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
---
 drivers/staging/vt6656/card.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/staging/vt6656/card.c b/drivers/staging/vt6656/card.c
index d74165d0d3bb..7827e579ef3d 100644
--- a/drivers/staging/vt6656/card.c
+++ b/drivers/staging/vt6656/card.c
@@ -438,7 +438,6 @@ int vnt_set_bss_mode(struct vnt_private *priv)
 	int ret;
 	unsigned char type = priv->bb_type;
 	unsigned char data = 0;
-	unsigned char bb_vga_0 = 0x1c;
 	unsigned char bb_vga_2_3 = 0x00;
 
 	ret = vnt_mac_set_bb_type(priv, type);
@@ -449,7 +448,6 @@ int vnt_set_bss_mode(struct vnt_private *priv)
 
 	if (priv->bb_type == BB_TYPE_11A) {
 		data = 0x03;
-		bb_vga_0 = 0x20;
 		bb_vga_2_3 = 0x10;
 	} else if (priv->bb_type == BB_TYPE_11B) {
 		data = 0x02;
-- 
2.25.1


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

* [PATCH 2/2] staging: vt6656: Removed unused variable vt3342_vnt_threshold
  2022-03-14 19:31 [PATCH 0/2] staging: vt6656: Remove unused bb_vga_0 and vt3342_vnt_threshold Philipp Hortmann
  2022-03-14 19:31 ` [PATCH 1/2] staging: vt6656: Removed unused variable bb_vga_0 Philipp Hortmann
@ 2022-03-14 19:31 ` Philipp Hortmann
  2022-03-15 14:17   ` Greg Kroah-Hartman
  1 sibling, 1 reply; 4+ messages in thread
From: Philipp Hortmann @ 2022-03-14 19:31 UTC (permalink / raw)
  To: Forest Bond, Greg Kroah-Hartman, linux-staging, linux-kernel

Missing part of staging: vt6656: Remove unused rf_type in baseband.c
Reported-by: kernel test robot <lkp@intel.com>

Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
---
 drivers/staging/vt6656/baseband.c | 24 ------------------------
 1 file changed, 24 deletions(-)

diff --git a/drivers/staging/vt6656/baseband.c b/drivers/staging/vt6656/baseband.c
index c04fd052e467..ad7b963f0d98 100644
--- a/drivers/staging/vt6656/baseband.c
+++ b/drivers/staging/vt6656/baseband.c
@@ -167,30 +167,6 @@ static const struct vnt_threshold vt3226_vnt_threshold[] = {
 	{41, 0xff, 0x00}
 };
 
-static const struct vnt_threshold vt3342_vnt_threshold[] = {
-	{0, 0x00, 0x38},	/* Max sensitivity */
-	{66, 0x00, 0x43},
-	{65, 0x00, 0x52},
-	{64, 0x00, 0x68},
-	{63, 0x00, 0x80},
-	{62, 0x00, 0x9c},
-	{61, 0x00, 0xc0},
-	{60, 0x00, 0xea},
-	{59, 0x01, 0x30},
-	{58, 0x01, 0x70},
-	{57, 0x01, 0xb0},
-	{56, 0x02, 0x30},
-	{55, 0x02, 0xc0},
-	{53, 0x04, 0x00},
-	{51, 0x07, 0x00},
-	{49, 0x0a, 0x00},
-	{47, 0x11, 0x00},
-	{45, 0x18, 0x00},
-	{43, 0x26, 0x00},
-	{42, 0x36, 0x00},
-	{41, 0xff, 0x00}
-};
-
 /*
  * Description: Set Antenna mode
  *
-- 
2.25.1


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

* Re: [PATCH 2/2] staging: vt6656: Removed unused variable vt3342_vnt_threshold
  2022-03-14 19:31 ` [PATCH 2/2] staging: vt6656: Removed unused variable vt3342_vnt_threshold Philipp Hortmann
@ 2022-03-15 14:17   ` Greg Kroah-Hartman
  0 siblings, 0 replies; 4+ messages in thread
From: Greg Kroah-Hartman @ 2022-03-15 14:17 UTC (permalink / raw)
  To: Philipp Hortmann; +Cc: Forest Bond, linux-staging, linux-kernel

On Mon, Mar 14, 2022 at 08:31:11PM +0100, Philipp Hortmann wrote:
> Missing part of staging: vt6656: Remove unused rf_type in baseband.c
> Reported-by: kernel test robot <lkp@intel.com>
> 
> Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>

Nit, the Reported-by: goes next to the signed-off-by: line.

I've fixed this up in my tree.

thanks,

greg k-h

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

end of thread, other threads:[~2022-03-15 14:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-14 19:31 [PATCH 0/2] staging: vt6656: Remove unused bb_vga_0 and vt3342_vnt_threshold Philipp Hortmann
2022-03-14 19:31 ` [PATCH 1/2] staging: vt6656: Removed unused variable bb_vga_0 Philipp Hortmann
2022-03-14 19:31 ` [PATCH 2/2] staging: vt6656: Removed unused variable vt3342_vnt_threshold Philipp Hortmann
2022-03-15 14:17   ` Greg Kroah-Hartman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.