Skip to content

Commit

Permalink
hw/net/e1000e_core: Let e1000e_can_receive() return a boolean
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
philmd authored and jasowang committed Mar 31, 2020
1 parent f22a57a commit 205ce56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hw/net/e1000e_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -967,7 +967,7 @@ e1000e_start_recv(E1000ECore *core)
}
}

int
bool
e1000e_can_receive(E1000ECore *core)
{
int i;
Expand Down
2 changes: 1 addition & 1 deletion hw/net/e1000e_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 205ce56

Please sign in to comment.