mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06: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
2 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue