From: Ben Pfaff <blp@nicira.com>
Date: Fri, 11 Sep 2009 17:51:36 +0000 (-0700)
Subject: datapath: Fix comments.
X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d3b8a34d6eabf049ae7e2d5689a0e687495100d;p=openvswitch

datapath: Fix comments.
---

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>