aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGonglei <arei.gonglei@huawei.com>2014-12-09 10:09:22 +0800
committerMichael Tokarev <mjt@tls.msk.ru>2014-12-10 11:52:21 +0300
commit7766aa0c0e9e1b84c80c3a8168c6d97c4a3d49b8 (patch)
tree7931de959040e8105d5d053b56388b87a38ea7e0 /include
parent1c854067b31a7764fa346ea74e0f0fa0ae718458 (diff)
virtio: remove useless declaration of virtio_net_init()
commit 1773d9ee (virtio-net: cleanup: init and exit function) removed the definition of virtio_net_init(), but didn't remove its declaration in the header. Clean that up. Cc: Markus Armbruster <armbru@redhat.com> Signed-off-by: Gonglei <arei.gonglei@huawei.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'include')
-rw-r--r--include/hw/virtio/virtio.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/hw/virtio/virtio.h b/include/hw/virtio/virtio.h
index 0726d76f49..f24997d218 100644
--- a/include/hw/virtio/virtio.h
+++ b/include/hw/virtio/virtio.h
@@ -230,9 +230,6 @@ int virtio_set_features(VirtIODevice *vdev, uint32_t val);
/* Base devices. */
typedef struct VirtIOBlkConf VirtIOBlkConf;
struct virtio_net_conf;
-VirtIODevice *virtio_net_init(DeviceState *dev, NICConf *conf,
- struct virtio_net_conf *net,
- uint32_t host_features);
typedef struct virtio_serial_conf virtio_serial_conf;
typedef struct VirtIOSCSIConf VirtIOSCSIConf;
typedef struct VirtIORNGConf VirtIORNGConf;