From: Malcolm Priestley Date: Sat, 19 Jul 2014 11:30:09 +0000 (+0100) Subject: staging: vt6656: remove variable byZoneType X-Git-Tag: v3.17-rc1~123^2~435 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=09440e546433cce913d8253b78c84d631fe33a47;p=karo-tx-linux.git staging: vt6656: remove variable byZoneType Zone types are nolonger handled by driver. Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vt6656/baseband.c b/drivers/staging/vt6656/baseband.c index 71226c75835a..6af9fcbd90bd 100644 --- a/drivers/staging/vt6656/baseband.c +++ b/drivers/staging/vt6656/baseband.c @@ -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) || diff --git a/drivers/staging/vt6656/device.h b/drivers/staging/vt6656/device.h index 3152f9324807..183d9c9f6430 100644 --- a/drivers/staging/vt6656/device.h +++ b/drivers/staging/vt6656/device.h @@ -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];