mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-23 11:39:53 +00:00
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>
This commit is contained in:
parent
f22a57ac09
commit
205ce5670f
@ -967,7 +967,7 @@ e1000e_start_recv(E1000ECore *core)
|
||||
}
|
||||
}
|
||||
|
||||
int
|
||||
bool
|
||||
e1000e_can_receive(E1000ECore *core)
|
||||
{
|
||||
int i;
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user