diff options
| author | Fam Zheng | 2015-07-01 07:25:05 +0200 |
|---|---|---|
| committer | Stefan Hajnoczi | 2015-09-02 15:51:07 +0200 |
| commit | c5a93780453e6da919287c17e873c843544ef2a3 (patch) | |
| tree | 86ef557838bb45fbb948ec3408dc5a36b1351db6 /tests/qapi-schema/data-array-empty.json | |
| parent | vmxnet3: Drop net_vmxnet3_info.can_receive (diff) | |
| download | qemu-c5a93780453e6da919287c17e873c843544ef2a3.tar.gz qemu-c5a93780453e6da919287c17e873c843544ef2a3.tar.xz qemu-c5a93780453e6da919287c17e873c843544ef2a3.zip | |
ne2000: Drop ne2000_can_receive
ne2000_receive already checks the same conditions and drops the packet
if it's not ready, removing the .can_receive callback avoids the
necessity to add explicit flushes when the conditions turn true (which
is required by the new semantics of .can_receive since 6e99c63
"net/socket: Drop net_socket_can_send").
Plus the "return 1" if E8390_STOP is also suspicious.
Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'tests/qapi-schema/data-array-empty.json')
0 files changed, 0 insertions, 0 deletions
