>From : Hari Prasath Gujulan Elango

remove unwanted assignment to ih->check here as it will be
overwritten.Its not used in the ip_fast_csum() function as well.

Signed-off-by: Hari Prasath Gujulan Elango <hguju...@visteon.com>
---
 drivers/staging/wilc1000/wilc_wfi_netdevice.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/wilc1000/wilc_wfi_netdevice.c 
b/drivers/staging/wilc1000/wilc_wfi_netdevice.c
index fbc4b85..3c26cea 100644
--- a/drivers/staging/wilc1000/wilc_wfi_netdevice.c
+++ b/drivers/staging/wilc1000/wilc_wfi_netdevice.c
@@ -547,7 +547,7 @@ void WILC_WFI_HwTx(char *buf, int len, struct net_device 
*dev)
        ((u8 *)saddr)[2] ^= 1;  /* change the third octet (class C) */
        ((u8 *)daddr)[2] ^= 1;
 
-       ih->check = 0;          /* and rebuild the checksum (ip needs it) */
+       /* and rebuild the checksum (ip needs it) */
        ih->check = ip_fast_csum((unsigned char *)ih, ih->ihl);
 
 
-- 
1.9.1
_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to