summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBen Pfaff <blp@ovn.org>2017-01-04 09:23:54 -0800
committerBen Pfaff <blp@ovn.org>2017-01-05 07:16:38 -0800
commitc2269819c3b7f03b31113eb2881b87da5fbfaf2f (patch)
treefe515b15f59a00757db1ffbbe71c86214a06cce8 /include
parent140f36ba4631f59a8c2703a8345d4bde6b5de70b (diff)
downloadopenvswitch-c2269819c3b7f03b31113eb2881b87da5fbfaf2f.tar.gz
util: Remove obsolete comment.
Signed-off-by: Ben Pfaff <blp@ovn.org> Acked-by: Simon Horman <simon.horman@netronome.com>
Diffstat (limited to 'include')
-rw-r--r--include/openvswitch/util.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/include/openvswitch/util.h b/include/openvswitch/util.h
index 06bd2d0eb..8453550cd 100644
--- a/include/openvswitch/util.h
+++ b/include/openvswitch/util.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2016 Nicira, Inc.
+ * Copyright (c) 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2016, 2017 Nicira, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -73,11 +73,7 @@ OVS_NO_RETURN void ovs_assert_failure(const char *, const char *, const char *);
((void) sizeof ((int) ((POINTER) == (TYPE) (POINTER))))
/* Casts 'pointer' to 'type' and issues a compiler warning if the cast changes
- * anything other than an outermost "const" or "volatile" qualifier.
- *
- * The cast to int is present only to suppress an "expression using sizeof
- * bool" warning from "sparse" (see
- * http://permalink.gmane.org/gmane.comp.parsers.sparse/2967). */
+ * anything other than an outermost "const" or "volatile" qualifier. */
#define CONST_CAST(TYPE, POINTER) \
(BUILD_ASSERT_TYPE(POINTER, TYPE), \
(TYPE) (POINTER))