projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1846ec2
)
xilinx_axienet: avoid useless self-assignment
author
Blue Swirl
<blauwirbel@gmail.com>
Mon, 30 Jul 2012 17:28:04 +0000
(17:28 +0000)
committer
Blue Swirl
<blauwirbel@gmail.com>
Thu, 9 Aug 2012 18:34:57 +0000
(18:34 +0000)
Statement s=s; makes little sense, remove it. Spotted by Clang
compiler.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/xilinx_axienet.c
patch
|
blob
|
history
diff --git
a/hw/xilinx_axienet.c
b/hw/xilinx_axienet.c
index adfaf2c50ed592b71bb0b9a1b580b5d62e6b5e46..9b08c629124232d06214bf332599c7ea954b329e 100644
(file)
--- 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;