]> 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)
commit0773fe4be3f3964a7d816ae954f903f6fc9a5456
treebd0637c497ad39c9984506f2fd1dc7d15bd8e3ca
parentafd859938df97a9df33dd044b2be70a1c5cb423c
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