sdbusplus: remove deprecated variant_ns

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I8d012f098dcca98ddbaf82e29219a15ddde5ba62
diff --git a/snmp_util.cpp b/snmp_util.cpp
index b5cea81..e12133b 100644
--- a/snmp_util.cpp
+++ b/snmp_util.cpp
@@ -13,7 +13,6 @@
 namespace phosphor
 {
 
-namespace variant_ns = sdbusplus::message::variant_ns;
 using namespace phosphor::logging;
 using namespace sdbusplus::xyz::openbmc_project::Common::Error;
 
@@ -104,8 +103,8 @@
             auto& intfMap = objIter.second;
             auto& snmpClientProps = intfMap.at(clientIntf);
             auto& address =
-                variant_ns::get<std::string>(snmpClientProps.at("Address"));
-            auto& port = variant_ns::get<uint16_t>(snmpClientProps.at("Port"));
+                std::get<std::string>(snmpClientProps.at("Address"));
+            auto& port = std::get<uint16_t>(snmpClientProps.at("Port"));
             auto ipaddress = phosphor::network::resolveAddress(address);
             auto mgr = std::move(ipaddress);
             if (port > 0)