[ovs-dev] [PATCH] list.h: Define OVS_LIST_POISON statically

Nithin Raju nithin at vmware.com
Fri May 27 17:54:58 UTC 2016


Looks like part of the patch committed in e32c1f7c
got left out while moving header files.

Signed-off-by: Nithin Raju <nithin at vmware.com>
Reported-by: Joe Stringer <joe at ovn.org>
---
 include/openvswitch/list.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/include/openvswitch/list.h b/include/openvswitch/list.h
index 32f83a0..5c2cca4 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 *);
-- 
2.6.2




More information about the dev mailing list