Skip to content

Commit

Permalink
Add empty line between functions and remove unnecessary \n
Browse files Browse the repository at this point in the history
Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com>
  • Loading branch information
jipanyang committed Oct 10, 2017
1 parent 52ea678 commit 14031e3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion orchagent/portsorch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,7 @@ bool PortsOrch::getPortPvid(Port &port, sai_uint32_t &pvid)
pvid = port.m_port_vlan_id;
return true;
}

bool PortsOrch::validatePortSpeed(sai_object_id_t port_id, sai_uint32_t speed)
{
sai_attribute_t attr;
Expand Down Expand Up @@ -1672,7 +1673,7 @@ void PortsOrch::getLagMember(Port &lag, vector<Port> &portv)
{
if (!getPort(name, member))
{
SWSS_LOG_ERROR("Failed to get port for %s alias\n", name.c_str());
SWSS_LOG_ERROR("Failed to get port for %s alias", name.c_str());
return;
}
portv.push_back(member);
Expand Down

0 comments on commit 14031e3

Please sign in to comment.