]> xenbits.xensource.com Git - qemu-xen-unstable.git/commit
hw/net/e1000e_core: Let e1000e_can_receive() return a boolean
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Thu, 5 Mar 2020 17:56:45 +0000 (18:56 +0100)
committerJason Wang <jasowang@redhat.com>
Tue, 31 Mar 2020 13:14:35 +0000 (21:14 +0800)
commit205ce5670f8ec38693ab945493e4fcc155b25cec
tree44dacf75f0557cca78f196ae2dcbcdd1bca20a05
parentf22a57ac09abdd5afd8a974b52c19eda9347cffd
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>
hw/net/e1000e_core.c
hw/net/e1000e_core.h