Skip to content

Commit 203b43d

Browse files
Philipp Hortmanngregkh
authored andcommitted
staging: vt6656: Removed unused variable bb_vga_0
Missing part of staging: vt6656: Remove unused rf_type in card.c Reported-by: kernel test robot <[email protected]> Signed-off-by: Philipp Hortmann <[email protected]> Link: https://lore.kernel.org/r/09f65cf4839b089ad38f28ff691d5146e6095e58.1647284830.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 721412e commit 203b43d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/staging/vt6656/card.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,6 @@ int vnt_set_bss_mode(struct vnt_private *priv)
438438
int ret;
439439
unsigned char type = priv->bb_type;
440440
unsigned char data = 0;
441-
unsigned char bb_vga_0 = 0x1c;
442441
unsigned char bb_vga_2_3 = 0x00;
443442

444443
ret = vnt_mac_set_bb_type(priv, type);
@@ -449,7 +448,6 @@ int vnt_set_bss_mode(struct vnt_private *priv)
449448

450449
if (priv->bb_type == BB_TYPE_11A) {
451450
data = 0x03;
452-
bb_vga_0 = 0x20;
453451
bb_vga_2_3 = 0x10;
454452
} else if (priv->bb_type == BB_TYPE_11B) {
455453
data = 0x02;

0 commit comments

Comments
 (0)