diff options
| author | Philippe Mathieu-Daudé <philmd@redhat.com> | 2020-03-05 18:56:45 +0100 |
|---|---|---|
| committer | Jason Wang <jasowang@redhat.com> | 2020-03-31 21:14:35 +0800 |
| commit | 205ce5670f8ec38693ab945493e4fcc155b25cec (patch) | |
| tree | 44dacf75f0557cca78f196ae2dcbcdd1bca20a05 /hw/net/e1000e_core.c | |
| parent | f22a57ac09abdd5afd8a974b52c19eda9347cffd (diff) | |
| download | focaccia-qemu-205ce5670f8ec38693ab945493e4fcc155b25cec.tar.gz focaccia-qemu-205ce5670f8ec38693ab945493e4fcc155b25cec.zip | |
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>
Diffstat (limited to 'hw/net/e1000e_core.c')
| -rw-r--r-- | hw/net/e1000e_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/net/e1000e_core.c b/hw/net/e1000e_core.c index df957e0c1a..d5676871fa 100644 --- a/hw/net/e1000e_core.c +++ b/hw/net/e1000e_core.c @@ -967,7 +967,7 @@ e1000e_start_recv(E1000ECore *core) } } -int +bool e1000e_can_receive(E1000ECore *core) { int i; |