hw/net/e1000e_core: Let e1000e_can_receive() return a boolean

The e1000e_can_receive() function simply returns a boolean value.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
master
Philippe Mathieu-Daudé 2020-03-05 18:56:45 +01:00 committed by Jason Wang
parent f22a57ac09
commit 205ce5670f
2 changed files with 2 additions and 2 deletions

View File

@ -967,7 +967,7 @@ e1000e_start_recv(E1000ECore *core)
}
}
int
bool
e1000e_can_receive(E1000ECore *core)
{
int i;

View File

@ -143,7 +143,7 @@ e1000e_core_set_link_status(E1000ECore *core);
void
e1000e_core_pci_uninit(E1000ECore *core);
int
bool
e1000e_can_receive(E1000ECore *core);
ssize_t