]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: vt6655: device_get_pci_info pcid already assigned.
authorMalcolm Priestley <tvboxspy@gmail.com>
Sat, 12 Sep 2015 18:10:37 +0000 (19:10 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Sep 2015 15:50:45 +0000 (08:50 -0700)
pcid has already been assigned earlier in vt6655_probe.

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

index edda8360e8bad44a2112c21883932349932cdf81..add9cdf01255a450a45dad01bee32f853aedee03 100644 (file)
@@ -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;
 }