diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2012-07-30 17:28:04 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2012-08-09 18:34:57 +0000 |
commit | a1e64eb96cfa6b9ddf947487347e5a2ca139629f (patch) | |
tree | 1376feb1b94968adbec1bfc296bdce9db83afef6 /hw/xilinx_axienet.c | |
parent | 1846ec2c6a36894e61dfa9c566820239052fb28b (diff) | |
download | qemu-a1e64eb96cfa6b9ddf947487347e5a2ca139629f.zip |
xilinx_axienet: avoid useless self-assignment
Statement s=s; makes little sense, remove it. Spotted by Clang
compiler.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/xilinx_axienet.c')
-rw-r--r-- | hw/xilinx_axienet.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/xilinx_axienet.c b/hw/xilinx_axienet.c index adfaf2c50e..9b08c62912 100644 --- a/hw/xilinx_axienet.c +++ b/hw/xilinx_axienet.c @@ -648,7 +648,6 @@ static ssize_t eth_rx(NetClientState *nc, const uint8_t *buf, size_t size) uint16_t csum16; int i; - s = s; DENET(qemu_log("%s: %zd bytes\n", __func__, size)); unicast = ~buf[0] & 0x1; |