pcid has already been assigned earlier in vt6655_probe.

Signed-off-by: Malcolm Priestley <[email protected]>
---
 drivers/staging/vt6655/device_main.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/staging/vt6655/device_main.c 
b/drivers/staging/vt6655/device_main.c
index edda836..add9cdf 100644
--- a/drivers/staging/vt6655/device_main.c
+++ b/drivers/staging/vt6655/device_main.c
@@ -438,8 +438,6 @@ static bool device_get_pci_info(struct vnt_private *pDevice,
        pDevice->memaddr = pci_resource_start(pcid, 0);
        pDevice->ioaddr = pci_resource_start(pcid, 1);
 
-       pDevice->pcid = pcid;
-
        return true;
 }
 
-- 
2.5.0

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to