[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-trivial] [PATCH] virtio: remove useless virtio_net_init define

From: arei.gonglei
Subject: [Qemu-trivial] [PATCH] virtio: remove useless virtio_net_init define
Date: Mon, 8 Dec 2014 19:48:42 +0800

From: Gonglei <address@hidden>

commit 1773d9ee (virtio-net: cleanup: init and exit function)
had removed realization of virtio_net_init(), but didn't remove
the define of head file. Let's remove it.

Signed-off-by: Gonglei <address@hidden>
 include/hw/virtio/virtio.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/include/hw/virtio/virtio.h b/include/hw/virtio/virtio.h
index 0726d76..f24997d 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;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]