diff options
author | Shan Wei <shanwei@cn.fujitsu.com> | 2011-03-04 01:23:58 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-03-07 15:49:31 -0800 |
commit | 06f0c1392c20d708ffae067fdcad604882e19200 (patch) | |
tree | f79927f13018580019caf553ecdaae74f31969fd /drivers/net/s2io.c | |
parent | 541ac7c9b30ee2ff84ad87f27e0bc069e143afb5 (diff) |
s2io: fix uninitialized compile warning
drivers/net/s2io.c:7559: warning: ‘tcp_len’ may be used uninitialized in this function
Signed-off-by: Shan Wei <shanwei@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/s2io.c')
-rw-r--r-- | drivers/net/s2io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/s2io.c b/drivers/net/s2io.c index 39c17cecb8b9..2ad6364103ea 100644 --- a/drivers/net/s2io.c +++ b/drivers/net/s2io.c @@ -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; |