xilinx_axienet: avoid useless self-assignment
authorBlue Swirl <blauwirbel@gmail.com>
Mon, 30 Jul 2012 17:28:04 +0000 (17:28 +0000)
committerBlue 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

index adfaf2c50ed592b71bb0b9a1b580b5d62e6b5e46..9b08c629124232d06214bf332599c7ea954b329e 100644 (file)
@@ -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;