From 55768e3548ef7476d4fdbe7be7a3ddb4d4896f14 Mon Sep 17 00:00:00 2001 From: Richard Marian Thomaiyar Date: Sat, 2 Mar 2019 22:54:37 +0530 Subject: Cleanup: Get rid of duplicate getChannelName() Get rid of duplicate getChannelName function. Use the one with uint8_t channelNum. Tested-by: 1. Verified RMCP+ session establishement works with newly created user Change-Id: Iac22ec665ece97d4f9471cfb40220b472bdf01e8 Signed-off-by: Richard Marian Thomaiyar --- user_channel/channel_layer.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'user_channel/channel_layer.hpp') diff --git a/user_channel/channel_layer.hpp b/user_channel/channel_layer.hpp index 3a172bc..5c82fba 100644 --- a/user_channel/channel_layer.hpp +++ b/user_channel/channel_layer.hpp @@ -328,6 +328,6 @@ ipmi_ret_t getChannelEnabledAuthType(const uint8_t chNum, const uint8_t priv, * * @return the LAN channel name (i.e. eth0) */ -std::string getChannelName(const int chNum); +std::string getChannelName(const uint8_t chNum); } // namespace ipmi -- cgit v1.2.1