mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
Make virtio_net_init() return void (Mark McLoughlin)
All PCI NIC init functions return void and nothing uses the return value from virtio_net_init(). Signed-off-by: Mark McLoughlin <markmc@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6291 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
5a16dc63c7
commit
291c6ff9bf
2 changed files with 3 additions and 5 deletions
|
@ -80,6 +80,6 @@ struct virtio_net_hdr_mrg_rxbuf
|
|||
uint16_t num_buffers; /* Number of merged rx buffers */
|
||||
};
|
||||
|
||||
PCIDevice *virtio_net_init(PCIBus *bus, NICInfo *nd, int devfn);
|
||||
void virtio_net_init(PCIBus *bus, NICInfo *nd, int devfn);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue