aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--datapath/datapath.c4
-rw-r--r--datapath/datapath.h1
2 files changed, 1 insertions, 4 deletions
diff --git a/datapath/datapath.c b/datapath/datapath.c
index 427391ad..52941e79 100644
--- a/datapath/datapath.c
+++ b/datapath/datapath.c
@@ -56,9 +56,7 @@ int (*dp_ioctl_hook)(struct net_device *dev, struct ifreq *rq, int cmd);
EXPORT_SYMBOL(dp_ioctl_hook);
/* Datapaths. Protected on the read side by rcu_read_lock, on the write side
- * by dp_mutex. dp_mutex is almost completely redundant with genl_mutex
- * maintained by the Generic Netlink code, but the timeout path needs mutual
- * exclusion too.
+ * by dp_mutex.
*
* dp_mutex nests inside the RTNL lock: if you need both you must take the RTNL
* lock first.
diff --git a/datapath/datapath.h b/datapath/datapath.h
index 122706a8..ab9359ef 100644
--- a/datapath/datapath.h
+++ b/datapath/datapath.h
@@ -14,7 +14,6 @@
#include <asm/page.h>
#include <linux/kernel.h>
#include <linux/mutex.h>
-#include <linux/netlink.h>
#include <linux/netdevice.h>
#include <linux/workqueue.h>
#include <linux/skbuff.h>