diff options
Diffstat (limited to 'user_channel/user_mgmt.cpp')
-rw-r--r-- | user_channel/user_mgmt.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/user_channel/user_mgmt.cpp b/user_channel/user_mgmt.cpp index eb95163..3f82c15 100644 --- a/user_channel/user_mgmt.cpp +++ b/user_channel/user_mgmt.cpp @@ -686,10 +686,6 @@ ipmi_ret_t UserAccess::setUserPrivilegeAccess(const uint8_t userId, } std::string priv = convertToSystemPrivilege( static_cast<CommandPrivilege>(privAccess.privilege)); - if (priv.empty()) - { - return IPMI_CC_PARM_OUT_OF_RANGE; - } uint8_t syncIndex = getUsrMgmtSyncIndex(); if (chNum == syncIndex && privAccess.privilege != userInfo->userPrivAccess[syncIndex].privilege) |