NVMeSensorMain: Avoid context variable

It was only used once to add the sensor, so just use the rvalue
directly.

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: I3a5a1bff93aa037bfaa53d2d9b08c603f146c9b7
diff --git a/src/NVMeSensorMain.cpp b/src/NVMeSensorMain.cpp
index 4c0473e..e8fc21a 100644
--- a/src/NVMeSensorMain.cpp
+++ b/src/NVMeSensorMain.cpp
@@ -162,9 +162,8 @@
                     objectServer, io, dbusConnection, *sensorName,
                     std::move(sensorThresholds), interfacePath, *busNumber);
 
-            std::shared_ptr<NVMeContext> context =
-                provideRootBusContext(io, nvmeDeviceMap, *rootBus);
-            context->addSensor(sensorPtr);
+            provideRootBusContext(io, nvmeDeviceMap, *rootBus)
+                ->addSensor(sensorPtr);
         }
     }
     for (const auto& [_, context] : nvmeDeviceMap)