From 0f03fb6094743b50d403b9f6181aced9ded98883 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Mon, 7 Jul 2014 21:13:27 +0200 Subject: virtio: Move extern declaration to header file This fixes a warning from smatch (static code analyser). Signed-off-by: Stefan Weil Signed-off-by: Michael Tokarev --- hw/virtio/vhost-backend.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'hw/virtio/vhost-backend.c') diff --git a/hw/virtio/vhost-backend.c b/hw/virtio/vhost-backend.c index 35316c40d9..ff4f2001bb 100644 --- a/hw/virtio/vhost-backend.c +++ b/hw/virtio/vhost-backend.c @@ -14,8 +14,6 @@ #include -extern const VhostOps user_ops; - static int vhost_kernel_call(struct vhost_dev *dev, unsigned long int request, void *arg) { -- cgit 1.4.1