hisi_acc_vfio_pci: Remove useless function parameter
authorLongfang Liu <liulongfang@huawei.com>
Mon, 26 Sep 2022 09:33:30 +0000 (17:33 +0800)
committerAlex Williamson <alex.williamson@redhat.com>
Tue, 27 Sep 2022 15:30:31 +0000 (09:30 -0600)
commitaf72f53c1b4e9614448b5d4e7b39d30d3339e3f7
treebd0637c497ad39c9984506f2fd1dc7d15bd8e3ca
parent008e5e996f425f64c21755ebe77201895bbee3b8
hisi_acc_vfio_pci: Remove useless function parameter

Remove unused function parameters for vf_qm_fun_reset() and
ensure the device is enabled before the reset operation
is performed.

Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Longfang Liu <liulongfang@huawei.com>
Link: https://lore.kernel.org/r/20220926093332.28824-4-liulongfang@huawei.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c