compilation warning removal

This commit is contained in:
Cedric Roux
2017-03-24 15:24:35 +01:00
parent 5345b160fc
commit d296abb8d0
+2 -2
View File
@@ -50,7 +50,7 @@
static struct sock *nas_nl_sk = NULL; static struct sock *nas_nl_sk = NULL;
static int exit_netlink_thread=0; static int exit_netlink_thread=0;
static int nas_netlink_rx_thread(void *); //static int nas_netlink_rx_thread(void *);
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,6,0) #if LINUX_VERSION_CODE >= KERNEL_VERSION(3,6,0)
struct netlink_kernel_cfg oai_netlink_cfg; struct netlink_kernel_cfg oai_netlink_cfg;
#endif #endif
@@ -76,7 +76,7 @@ static void nas_nl_data_ready (struct sk_buff *skb)
//nasmesh_unlock(); //nasmesh_unlock();
struct nlmsghdr *nlh = NULL; struct nlmsghdr *nlh = NULL;
int j; //int j;
if (skb) { if (skb) {