Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Zhang Zekun and committed by
Alex Williamson
7555c7d2 a7aaa65f

-3
-3
drivers/vfio/mdev/mdev_private.h
··· 10 10 #ifndef MDEV_PRIVATE_H 11 11 #define MDEV_PRIVATE_H 12 12 13 - int mdev_bus_register(void); 14 - void mdev_bus_unregister(void); 15 - 16 13 extern const struct bus_type mdev_bus_type; 17 14 extern const struct attribute_group *mdev_device_groups[]; 18 15