From 203b43db788b25c256fa55410deecd2ebfe0a8c2 Mon Sep 17 00:00:00 2001 From: Philipp Hortmann Date: Mon, 14 Mar 2022 20:31:05 +0100 Subject: [PATCH] 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 Signed-off-by: Philipp Hortmann Link: https://lore.kernel.org/r/09f65cf4839b089ad38f28ff691d5146e6095e58.1647284830.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman --- 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;