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>
This commit is contained in:
		
							parent
							
								
									1846ec2c6a
								
							
						
					
					
						commit
						a1e64eb96c
					
				@ -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;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user