From: Shaokun Zhang Date: Mon, 24 May 2021 12:04:44 +0000 (+0800) Subject: vhost: Remove the repeated declaration X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=7a43ce37cd595ed7b6e6a48bdb3a598e647aa738;p=linux.git vhost: Remove the repeated declaration Function 'vhost_vring_ioctl' is declared twice, remove the repeated declaration. Cc: "Michael S. Tsirkin" Cc: Jason Wang Signed-off-by: Shaokun Zhang Link: https://lore.kernel.org/r/1621857884-19964-1-git-send-email-zhangshaokun@hisilicon.com Acked-by: Jason Wang Signed-off-by: Michael S. Tsirkin --- diff --git a/drivers/vhost/vhost.h b/drivers/vhost/vhost.h index b063324c7669d..374f4795cb5a4 100644 --- a/drivers/vhost/vhost.h +++ b/drivers/vhost/vhost.h @@ -47,7 +47,6 @@ void vhost_poll_stop(struct vhost_poll *poll); void vhost_poll_flush(struct vhost_poll *poll); void vhost_poll_queue(struct vhost_poll *poll); void vhost_work_flush(struct vhost_dev *dev, struct vhost_work *work); -long vhost_vring_ioctl(struct vhost_dev *d, unsigned int ioctl, void __user *argp); struct vhost_log { u64 addr;