summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMalcolm Priestley <tvboxspy@gmail.com>2015-09-12 18:10:37 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-09-14 15:50:45 (GMT)
commit70d66a6a753b19a3de5ab167fe8b941eac32c079 (patch)
tree86662d798f238a3d760a82d0ca43b779e9a6d476
parent41652a21b7c11322f4efa6daa43deb7935a052f9 (diff)
downloadlinux-70d66a6a753b19a3de5ab167fe8b941eac32c079.tar.xz
staging: vt6655: device_get_pci_info pcid already assigned.
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>
-rw-r--r--drivers/staging/vt6655/device_main.c2
1 files changed, 0 insertions, 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;
}