From 09440e546433cce913d8253b78c84d631fe33a47 Mon Sep 17 00:00:00 2001 From: Malcolm Priestley Date: Sat, 19 Jul 2014 12:30:09 +0100 Subject: [PATCH] staging: vt6656: remove variable byZoneType Zone types are nolonger handled by driver. Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- drivers/staging/vt6656/baseband.c | 4 ---- drivers/staging/vt6656/device.h | 2 -- 2 files changed, 6 deletions(-) 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]; -- 2.30.2