summaryrefslogtreecommitdiffstats
path: root/command/rakp12.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'command/rakp12.cpp')
-rw-r--r--command/rakp12.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/command/rakp12.cpp b/command/rakp12.cpp
index b0aad87..b4842b2 100644
--- a/command/rakp12.cpp
+++ b/command/rakp12.cpp
@@ -35,10 +35,9 @@ std::vector<uint8_t> RAKP12(const std::vector<uint8_t>& inPayload,
std::shared_ptr<session::Session> session;
try
{
- session = (std::get<session::Manager&>(singletonPool)
- .getSession(
- endian::from_ipmi(request->managedSystemSessionID)))
- .lock();
+ session =
+ std::get<session::Manager&>(singletonPool)
+ .getSession(endian::from_ipmi(request->managedSystemSessionID));
}
catch (std::exception& e)
{
OpenPOWER on IntegriCloud