diff options
author | Fam Zheng <famz@redhat.com> | 2015-07-01 15:10:45 +0800 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2015-07-20 17:47:24 +0100 |
commit | f63eab8becf92b18c18b6c31950f99f764848902 (patch) | |
tree | 5c9a7ce0ff38e6370e188f5762abced18fb67ee1 /hw/arm/musicpal.c | |
parent | 80da311d81c389860bc387fbe6677c71f7a3c596 (diff) | |
download | qemu-f63eab8becf92b18c18b6c31950f99f764848902.zip qemu-f63eab8becf92b18c18b6c31950f99f764848902.tar.gz qemu-f63eab8becf92b18c18b6c31950f99f764848902.tar.bz2 |
musicpal: Drop eth_can_receive
True is the default.
Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Jason Wang <jasowang@redhat.com>
Message-id: 1435734647-8371-2-git-send-email-famz@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw/arm/musicpal.c')
-rw-r--r-- | hw/arm/musicpal.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/hw/arm/musicpal.c b/hw/arm/musicpal.c index a3b1314..42f66b3 100644 --- a/hw/arm/musicpal.c +++ b/hw/arm/musicpal.c @@ -187,11 +187,6 @@ static void eth_rx_desc_get(uint32_t addr, mv88w8618_rx_desc *desc) le32_to_cpus(&desc->next); } -static int eth_can_receive(NetClientState *nc) -{ - return 1; -} - static ssize_t eth_receive(NetClientState *nc, const uint8_t *buf, size_t size) { mv88w8618_eth_state *s = qemu_get_nic_opaque(nc); @@ -381,7 +376,6 @@ static void eth_cleanup(NetClientState *nc) static NetClientInfo net_mv88w8618_info = { .type = NET_CLIENT_OPTIONS_KIND_NIC, .size = sizeof(NICState), - .can_receive = eth_can_receive, .receive = eth_receive, .cleanup = eth_cleanup, }; |