From: Stefan Hajnoczi <stefanha@redhat.com>
To: qemu-devel@nongnu.org
Cc: Peter Maydell <peter.maydell@linaro.org>,
Fam Zheng <famz@redhat.com>,
Stefan Hajnoczi <stefanha@redhat.com>
Subject: [Qemu-devel] [PULL for-2.4 5/7] etraxfs_eth: Drop eth_can_receive
Date: Mon, 20 Jul 2015 18:25:23 +0100 [thread overview]
Message-ID: <1437413125-24888-6-git-send-email-stefanha@redhat.com> (raw)
In-Reply-To: <1437413125-24888-1-git-send-email-stefanha@redhat.com>
From: Fam Zheng <famz@redhat.com>
True is the default.
Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Jason Wang <jasowang@redhat.com>
Message-id: 1435734647-8371-3-git-send-email-famz@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
---
hw/net/etraxfs_eth.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/hw/net/etraxfs_eth.c b/hw/net/etraxfs_eth.c
index 4773dea..d600275 100644
--- a/hw/net/etraxfs_eth.c
+++ b/hw/net/etraxfs_eth.c
@@ -520,11 +520,6 @@ static int eth_match_groupaddr(ETRAXFSEthState *eth, const unsigned char *sa)
return match;
}
-static int eth_can_receive(NetClientState *nc)
-{
- return 1;
-}
-
static ssize_t eth_receive(NetClientState *nc, const uint8_t *buf, size_t size)
{
unsigned char sa_bcast[6] = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff };
@@ -584,7 +579,6 @@ static const MemoryRegionOps eth_ops = {
static NetClientInfo net_etraxfs_info = {
.type = NET_CLIENT_OPTIONS_KIND_NIC,
.size = sizeof(NICState),
- .can_receive = eth_can_receive,
.receive = eth_receive,
.link_status_changed = eth_set_link,
};
--
2.4.3
next prev parent reply other threads:[~2015-07-20 17:25 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-20 17:25 [Qemu-devel] [PULL for-2.4 0/7] Net patches Stefan Hajnoczi
2015-07-20 17:25 ` [Qemu-devel] [PULL for-2.4 1/7] socket: pass correct size in net_socket_send() Stefan Hajnoczi
2015-07-20 17:25 ` [Qemu-devel] [PULL for-2.4 2/7] net/vmxnet3: Refactor 'vmxnet_rx_pkt_attach_data' Stefan Hajnoczi
2015-07-20 17:25 ` [Qemu-devel] [PULL for-2.4 3/7] net/vmxnet3: Fix RX TCP/UDP checksum on partially summed packets Stefan Hajnoczi
2015-07-20 17:25 ` [Qemu-devel] [PULL for-2.4 4/7] musicpal: Drop eth_can_receive Stefan Hajnoczi
2015-07-20 17:25 ` Stefan Hajnoczi [this message]
2015-07-20 17:25 ` [Qemu-devel] [PULL for-2.4 6/7] lan9118: Drop lan9118_can_receive Stefan Hajnoczi
2015-07-20 17:25 ` [Qemu-devel] [PULL for-2.4 7/7] net: Flush queued packets when guest resumes Stefan Hajnoczi
2015-07-21 8:20 ` [Qemu-devel] [PULL for-2.4 0/7] Net patches Peter Maydell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1437413125-24888-6-git-send-email-stefanha@redhat.com \
--to=stefanha@redhat.com \
--cc=famz@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).