s390x/virtio-bus: Remove unused function s390_virtio_bus_console()
The function s390_virtio_bus_console() is completely unused and thus can be removed safely. Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com> Reviewed-by: Jens Freimann <jfrei@linux.vnet.ibm.com> Signed-off-by: Jens Freimann <jfrei@linux.vnet.ibm.com> Message-Id: <1426164834-38648-5-git-send-email-jfrei@linux.vnet.ibm.com> Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
This commit is contained in:
parent
2eb1cd0768
commit
eaec461ccc
@ -435,11 +435,6 @@ void s390_virtio_device_update_status(VirtIOS390Device *dev)
|
||||
virtio_set_features(vdev, features);
|
||||
}
|
||||
|
||||
VirtIOS390Device *s390_virtio_bus_console(VirtIOS390Bus *bus)
|
||||
{
|
||||
return bus->console;
|
||||
}
|
||||
|
||||
/* Find a device by vring address */
|
||||
VirtIOS390Device *s390_virtio_bus_find_vring(VirtIOS390Bus *bus,
|
||||
ram_addr_t mem,
|
||||
|
@ -108,7 +108,6 @@ typedef struct VirtIOS390Bus {
|
||||
|
||||
void s390_virtio_device_update_status(VirtIOS390Device *dev);
|
||||
|
||||
VirtIOS390Device *s390_virtio_bus_console(VirtIOS390Bus *bus);
|
||||
VirtIOS390Bus *s390_virtio_bus_init(ram_addr_t *ram_size);
|
||||
|
||||
VirtIOS390Device *s390_virtio_bus_find_vring(VirtIOS390Bus *bus,
|
||||
|
Loading…
Reference in New Issue
Block a user