datapath/vport: Remove an invalid comment
authorAaron Conole <aconole@redhat.com>
Tue, 24 Nov 2015 20:28:35 +0000 (15:28 -0500)
committerPravin B Shelar <pshelar@nicira.com>
Mon, 21 Dec 2015 23:05:15 +0000 (15:05 -0800)
Commit 3544358aa596 ("datapath: Improve kernel hash table") removed the
failure condition of ovs_vport_del by switching away from a custom
hashtable which allocated a new bucket, to an hlist with flexible-array
buckets. The function stopped returning failure code at that point, so
remove the misleading comment.

Signed-off-by: Aaron Conole <aconole@redhat.com>
Acked-by: Thadeu Lima de Souza Cascardo <cascardo@redhat.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
datapath/vport.c

index 01702d7..7fd9858 100644 (file)
@@ -298,8 +298,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)
 {