From 14031e387594edab84166f09e23c9d80d29a6c1e Mon Sep 17 00:00:00 2001 From: Jipan Yang Date: Tue, 10 Oct 2017 12:24:40 -0700 Subject: [PATCH] Add empty line between functions and remove unnecessary \n Signed-off-by: Jipan Yang --- orchagent/portsorch.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/orchagent/portsorch.cpp b/orchagent/portsorch.cpp index 360d6a6622..ff81fd5501 100644 --- a/orchagent/portsorch.cpp +++ b/orchagent/portsorch.cpp @@ -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; @@ -1672,7 +1673,7 @@ void PortsOrch::getLagMember(Port &lag, vector &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);