From 7419ef5df4c851b76b08753088221199b233e86b Mon Sep 17 00:00:00 2001 From: Shuotian Cheng Date: Tue, 10 May 2016 17:25:21 -0700 Subject: [PATCH] common: Removing deprecated SAI type VLAN_PORT_LIST (#19) --- common/saiserialize.cpp | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/common/saiserialize.cpp b/common/saiserialize.cpp index b092bfd1272b..23348fbc3ecf 100644 --- a/common/saiserialize.cpp +++ b/common/saiserialize.cpp @@ -453,10 +453,6 @@ sai_status_t sai_serialize_attr_value( sai_serialize_list(attr.value.vlanlist, s, countOnly); break; - case SAI_SERIALIZATION_TYPE_VLAN_PORT_LIST: - sai_serialize_list(attr.value.vlanportlist, s, countOnly); - break; - case SAI_SERIALIZATION_TYPE_PORT_BREAKOUT: sai_serialize_primitive(attr.value.portbreakout.breakout_mode, s); sai_serialize_list(attr.value.portbreakout.port_list, s, countOnly); @@ -739,10 +735,6 @@ sai_status_t sai_deserialize_attr_value( sai_deserialize_list(s, index, attr.value.vlanlist, countOnly); break; - case SAI_SERIALIZATION_TYPE_VLAN_PORT_LIST: - sai_deserialize_list(s, index, attr.value.vlanportlist, countOnly); - break; - case SAI_SERIALIZATION_TYPE_PORT_BREAKOUT: sai_deserialize_primitive(s, index, attr.value.portbreakout.breakout_mode); sai_deserialize_list(s, index, attr.value.portbreakout.port_list, countOnly); @@ -979,10 +971,6 @@ sai_status_t sai_deserialize_free_attribute_value( sai_free_list(attr.value.vlanlist); break; - case SAI_SERIALIZATION_TYPE_VLAN_PORT_LIST: - sai_free_list(attr.value.vlanportlist); - break; - case SAI_SERIALIZATION_TYPE_PORT_BREAKOUT: sai_free_list(attr.value.portbreakout.port_list); break; @@ -1320,10 +1308,6 @@ sai_status_t transfer_attribute( transfer_list(src_attr.value.vlanlist, dst_attr.value.vlanlist, countOnly); break; - case SAI_SERIALIZATION_TYPE_VLAN_PORT_LIST: - transfer_list(src_attr.value.vlanportlist, dst_attr.value.vlanportlist, countOnly); - break; - case SAI_SERIALIZATION_TYPE_PORT_BREAKOUT: transfer_primitive(src_attr.value.portbreakout.breakout_mode, dst_attr.value.portbreakout.breakout_mode); transfer_list(src_attr.value.portbreakout.port_list, dst_attr.value.portbreakout.port_list, countOnly);