mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
41652a21b7
commit
70d66a6a75
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue