]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit71a57fb36aeb481dd67af57f592d359d34c08830
treebd0637c497ad39c9984506f2fd1dc7d15bd8e3ca
parentd109e59c8063f74f030a08641ddc1a8d071f3c29
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