Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 06f0c139 authored by Shan Wei's avatar Shan Wei Committed by David S. Miller
Browse files

s2io: fix uninitialized compile warning



drivers/net/s2io.c:7559: warning: ‘tcp_len’ may be used uninitialized in this function

Signed-off-by: default avatarShan Wei <shanwei@cn.fujitsu.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 541ac7c9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -7556,7 +7556,7 @@ static int rx_osm_handler(struct ring_info *ring_data, struct RxD_t * rxdp)
			 */
			skb->ip_summed = CHECKSUM_UNNECESSARY;
			if (ring_data->lro) {
				u32 tcp_len;
				u32 tcp_len = 0;
				u8 *tcp;
				int ret = 0;