xen-pciback: Cleanup up pcistub_put_pci_dev
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 4 Dec 2013 02:34:03 +0000 (21:34 -0500)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 23 May 2014 16:33:30 +0000 (12:33 -0400)
commit8899035eec4105a10149817fdaf684f127670f8c
tree8881764f77f744008c3c30a2955e310cb31d892d
parentf59c5145dc6a079b14b349c388d44362eb813cdf
xen-pciback: Cleanup up pcistub_put_pci_dev

We are using 'psdev->dev','found_psdev->dev', and 'dev' at the
same time - and they all point to the same structure.

To keep it straight lets just use one - 'dev'.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: David Vrabel <david.vrabel@citrix.com>
drivers/xen/xen-pciback/pci_stub.c