]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
net: openvswitch: Remove invalid comment
authorAaron Conole <aconole@bytheb.org>
Tue, 24 Nov 2015 18:51:53 +0000 (13:51 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Nov 2015 22:18:00 +0000 (17:18 -0500)
During pre-upstream development, the openvswitch datapath used a custom
hashtable to store vports that could fail on delete due to lack of
memory. However, prior to upstream submission, this code was reworked to
use an hlist based hastable with flexible-array based buckets. As such
the failure condition was eliminated from the vport_del path, rendering
this comment invalid.

Signed-off-by: Aaron Conole <aconole@bytheb.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/openvswitch/vport.c

index 0ac0fd004d7ed885c009560d966da5b29b47f242..e194c10a18897a61e0e16f7aed3672c192f47a0c 100644 (file)
@@ -256,8 +256,8 @@ int ovs_vport_set_options(struct vport *vport, struct nlattr *options)
  *
  * @vport: vport to delete.
  *
- * Detaches @vport from its datapath and destroys it.  It is possible to fail
- * for reasons such as lack of memory.  ovs_mutex must be held.
+ * Detaches @vport from its datapath and destroys it.  ovs_mutex must
+ * be held.
  */
 void ovs_vport_del(struct vport *vport)
 {