diff options
author | Ben Pfaff <blp@ovn.org> | 2019-01-23 12:09:46 -0800 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2019-01-25 13:09:52 -0800 |
commit | b53433079b8da5ecd33d0e3e1e1644a7997e0671 (patch) | |
tree | c138bd7b81a2bdae31cbef216b340c345eeda50a /lib/ovs-atomic.h | |
parent | 5cc463d60487b0d0050926ce3174ae962d524e57 (diff) | |
download | openvswitch-b53433079b8da5ecd33d0e3e1e1644a7997e0671.tar.gz |
treewide: Get rid of // comments, even inside comments.
Just a style fix.
With this patch, the following reports no hits:
git ls-files | grep '\.[ch]$' | grep -vE 'datapath|sflow' \
| xargs grep -n // | grep -vE "http|s/|'|\""
Acked-by: Ilya Maximets <i.maximets@samsung.com>
Reported-by: Ilya Maximets <i.maximets@samsung.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'lib/ovs-atomic.h')
-rw-r--r-- | lib/ovs-atomic.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/ovs-atomic.h b/lib/ovs-atomic.h index 4664eefaf..21e230e36 100644 --- a/lib/ovs-atomic.h +++ b/lib/ovs-atomic.h @@ -509,7 +509,7 @@ ovs_refcount_ref(struct ovs_refcount *refcount) * in this form: * * if (ovs_refcount_unref(&object->ref_cnt) == 1) { - * // ...uninitialize object... + * ...uninitialize object... * free(object); * } * @@ -593,7 +593,6 @@ ovs_refcount_try_ref_rcu(struct ovs_refcount *refcount) * For example: * * if (ovs_refcount_unref_relaxed(&object->ref_cnt) == 1) { - * // Schedule uninitialization and freeing of the object: * ovsrcu_postpone(destructor_function, object); * } * |