staging: vt6656: remove variable byZoneType
authorMalcolm Priestley <tvboxspy@gmail.com>
Sat, 19 Jul 2014 11:30:09 +0000 (12:30 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Jul 2014 19:11:57 +0000 (12:11 -0700)
Zone types are nolonger handled by driver.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/baseband.c
drivers/staging/vt6656/device.h

index 71226c75835a8cb73fdc1a3e9ce1d0e7e2197395..6af9fcbd90bd0330a3cafd3b363188719ef42b8b 100644 (file)
@@ -394,12 +394,8 @@ int vnt_vt3184_init(struct vnt_private *priv)
        if (status != STATUS_SUCCESS)
                return false;
 
-       priv->byZoneType = priv->abyEEPROM[EEP_OFS_ZONETYPE];
-
        priv->rf_type = priv->abyEEPROM[EEP_OFS_RFTYPE];
 
-       dev_dbg(&priv->usb->dev, "Zone Type %x\n", priv->byZoneType);
-
        dev_dbg(&priv->usb->dev, "RF Type %d\n", priv->rf_type);
 
        if ((priv->rf_type == RF_AL2230) ||
index 3152f93248072a4b7f5fad86b3ff07751003ddd5..183d9c9f643032ca1c1e72f6211f853b674f8cf2 100644 (file)
@@ -304,8 +304,6 @@ struct vnt_private {
        u8 rf_type;
        u8 bb_rx_conf;
 
-       u8 byZoneType;
-
        struct vnt_cmd_card_init init_command;
        struct vnt_rsp_card_init init_response;
        u8 abyCurrentNetAddr[ETH_ALEN];