diff options
author | Malcolm Priestley <tvboxspy@gmail.com> | 2015-09-12 19:10:35 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-09-14 08:50:45 -0700 |
commit | 2ef1571b13859ce56bf779ddaf3b7be44eacc5d7 (patch) | |
tree | b12fb9806db221eec56eef41cd6e78880842c811 /drivers/staging | |
parent | 7a95f96108efc94cd79d46245a70c3b5bf9c0840 (diff) |
staging: vt6655: device_get_pci_info remove variable cis_addr.
cis_addr is never used remove its call to pci_resource_start.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/vt6655/device_main.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/vt6655/device_main.c b/drivers/staging/vt6655/device_main.c index 1e660ccf200f..17fa6aa30eae 100644 --- a/drivers/staging/vt6655/device_main.c +++ b/drivers/staging/vt6655/device_main.c @@ -434,15 +434,12 @@ static bool device_get_pci_info(struct vnt_private *pDevice, struct pci_dev *pcid) { u8 b; - unsigned int cis_addr; pci_set_master(pcid); pDevice->memaddr = pci_resource_start(pcid, 0); pDevice->ioaddr = pci_resource_start(pcid, 1); - cis_addr = pci_resource_start(pcid, 2); - pDevice->pcid = pcid; pci_read_config_byte(pcid, PCI_COMMAND, &b); |