From: Blue Swirl Date: Mon, 30 Jul 2012 17:28:04 +0000 (+0000) Subject: xilinx_axienet: avoid useless self-assignment X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.1~1405^2~17^2~154 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a1e64eb96cfa6b9ddf947487347e5a2ca139629f;p=sdk%2Femulator%2Fqemu.git xilinx_axienet: avoid useless self-assignment Statement s=s; makes little sense, remove it. Spotted by Clang compiler. Signed-off-by: Blue Swirl --- 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;