From: Alex Williamson <alex.williamson@redhat.com>
To: Zhang Zekun <zhangzekun11@huawei.com>
Cc: <kwankhede@nvidia.com>, <kvm@vger.kernel.org>
Subject: Re: [PATCH] vfio: mdev: Remove unused function declarations
Date: Tue, 3 Sep 2024 12:48:01 -0600 [thread overview]
Message-ID: <20240903124801.1c2980fb.alex.williamson@redhat.com> (raw)
In-Reply-To: <20240812120823.10968-1-zhangzekun11@huawei.com>
On Mon, 12 Aug 2024 20:08:23 +0800
Zhang Zekun <zhangzekun11@huawei.com> wrote:
> 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>
> ---
> drivers/vfio/mdev/mdev_private.h | 3 ---
> 1 file changed, 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[];
>
Applied to vfio next branch for v6.12. Thanks!
Alex
prev parent reply other threads:[~2024-09-03 18:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-12 12:08 [PATCH] vfio: mdev: Remove unused function declarations Zhang Zekun
2024-08-13 18:04 ` Jason Gunthorpe
2024-08-14 7:45 ` Tian, Kevin
2024-09-03 18:48 ` Alex Williamson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240903124801.1c2980fb.alex.williamson@redhat.com \
--to=alex.williamson@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=kwankhede@nvidia.com \
--cc=zhangzekun11@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox