xen/pcifront: Drop pcifront_common_process() tests of pcidev, pdrv
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Fri, 8 Oct 2021 23:22:08 +0000 (18:22 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 15 Oct 2021 16:34:21 +0000 (11:34 -0500)
commit34ab316d7287692bad41ce4a431b43d60a8bd20f
tree2a988a8bedd5644f94f7b859227c65e1b96d2dcf
parent230b1e54bd1476578e4ae336b7ac3bca13d81459
xen/pcifront: Drop pcifront_common_process() tests of pcidev, pdrv

pcifront_common_process() exits early if pcidev or pcidev->driver are NULL,
so simplify it by not checking them again.

[bhelgaas: split flag change to separate patch]
Link: https://lore.kernel.org/r/20211004125935.2300113-4-u.kleine-koenig@pengutronix.de
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
drivers/pci/xen-pcifront.c