Skip to content

Commit

Permalink
common: Removing deprecated SAI type VLAN_PORT_LIST (sonic-net#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
stcheng committed May 11, 2016
1 parent 870387f commit 7419ef5
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions common/saiserialize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 7419ef5

Please sign in to comment.