staging: vt6656: Removed unused variable bb_vga_0
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Mon, 14 Mar 2022 19:31:05 +0000 (20:31 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Mar 2022 14:17:06 +0000 (15:17 +0100)
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>
Link: https://lore.kernel.org/r/09f65cf4839b089ad38f28ff691d5146e6095e58.1647284830.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/card.c

index d74165d..7827e57 100644 (file)
@@ -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;