From a1e64eb96cfa6b9ddf947487347e5a2ca139629f Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Mon, 30 Jul 2012 17:28:04 +0000 Subject: [PATCH] xilinx_axienet: avoid useless self-assignment Statement s=s; makes little sense, remove it. Spotted by Clang compiler. Signed-off-by: Blue Swirl --- hw/xilinx_axienet.c | 1 - 1 file changed, 1 deletion(-) 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; -- 2.11.0