summaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/patches-2.6.30/fix-igmp_delete-compile.patch
blob: e667ff3cb1b7312683d00c86ebe59b5c3451ccca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- linux-2.6.30.9/drivers/net/rtl819x/igmpsnooping/igmp_delete.c.old	2013-06-02 12:20:02.625953564 +0300
+++ linux-2.6.30.9/drivers/net/rtl819x/igmpsnooping/igmp_delete.c	2013-06-02 12:20:50.517954741 +0300
@@ -93,11 +93,9 @@
   	int pid;
 	struct test_struct send_data,recv_data;
 	uint8 mac[6];
-	char *ptr;
 	pid=rtk_nlrecvmsg(__skb,sizeof(struct test_struct),&recv_data);	
  	//printk("igmp_delete data:%s\n", recv_data.data);
 	memset(mac, 0, 6);
-	ptr = recv_data.data;
 	if(try_mac(recv_data.data, mac, 6, ':'))
 	{
 		rtl_delIgmpRecordByMacAddr(mac);