diff options
author | Zhang Zekun <zhangzekun11@huawei.com> | 2024-08-12 20:08:23 +0800 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2024-09-03 08:42:07 -0600 |
commit | 7555c7d2cfc471144bc356e4a7c4a1d8733567a7 (patch) | |
tree | 7c59998f9c4543ec4658bcb9b4b3b2509b0bac3c /drivers/vfio | |
parent | a7aaa65f9c46b82051af490c93bc6398f11b94ce (diff) |
vfio: mdev: Remove unused function declarations
The definition of mdev_bus_register() and mdev_bus_unregister() have been
removed since commit 6c7f98b334a3 ("vfio/mdev: Remove vfio_mdev.c"). So,
let's remove the unused declarations.
Signed-off-by: Zhang Zekun <zhangzekun11@huawei.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Link: https://lore.kernel.org/r/20240812120823.10968-1-zhangzekun11@huawei.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/vfio')
-rw-r--r-- | drivers/vfio/mdev/mdev_private.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/vfio/mdev/mdev_private.h b/drivers/vfio/mdev/mdev_private.h index 63a1316b08b7..5f61acd0fe42 100644 --- a/drivers/vfio/mdev/mdev_private.h +++ b/drivers/vfio/mdev/mdev_private.h @@ -10,9 +10,6 @@ #ifndef MDEV_PRIVATE_H #define MDEV_PRIVATE_H -int mdev_bus_register(void); -void mdev_bus_unregister(void); - extern const struct bus_type mdev_bus_type; extern const struct attribute_group *mdev_device_groups[]; |