summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNithin Raju <nithin@vmware.com>2016-05-27 10:54:58 -0700
committerBen Pfaff <blp@ovn.org>2016-05-28 09:49:03 -0700
commitff261703821658243bba13c80311130d036eeb52 (patch)
treea7efe463ac05ae1478a90373e6690fe8c193c828 /include
parente12ec36b0c77f175af0a64c47e7c291798ef2013 (diff)
downloadopenvswitch-ff261703821658243bba13c80311130d036eeb52.tar.gz
list.h: Define OVS_LIST_POISON statically
Looks like part of the patch committed in e32c1f7c got left out while moving header files. Fixes: e32c1f7c0d65 ("list.h: Define OVS_LIST_POISON statically") Signed-off-by: Nithin Raju <nithin@vmware.com> Reported-by: Joe Stringer <joe@ovn.org> Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'include')
-rw-r--r--include/openvswitch/list.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/openvswitch/list.h b/include/openvswitch/list.h
index 32f83a0cc..5c2cca49c 100644
--- a/include/openvswitch/list.h
+++ b/include/openvswitch/list.h
@@ -39,9 +39,6 @@ struct ovs_list {
static const struct ovs_list OVS_LIST_POISON =
{ (struct ovs_list *) (UINTPTR_MAX / 0xf * 0xc),
(struct ovs_list *) (UINTPTR_MAX / 0xf * 0xc) };
-#define OVS_LIST_POISON \
-(struct ovs_list) { (struct ovs_list *) (uintptr_t) 0xccccccccccccccccULL, \
- (struct ovs_list *) (uintptr_t) 0xccccccccccccccccULL }
static inline void ovs_list_init(struct ovs_list *);
static inline void ovs_list_poison(struct ovs_list *);