sdbus++: client: remove deprecated namespace
The only user of the deprecated namespace for client headers was
removed from phosphor-buttons with
I47ed9660284c67c618224d034120063dfb86c6d0. Remove support for it.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Id9333784e4f90f3744c3f8100f3ed7ae42b2d897
diff --git a/tools/sdbusplus/templates/interface.client.hpp.mako b/tools/sdbusplus/templates/interface.client.hpp.mako
index e5ef488..7963a53 100644
--- a/tools/sdbusplus/templates/interface.client.hpp.mako
+++ b/tools/sdbusplus/templates/interface.client.hpp.mako
@@ -7,16 +7,6 @@
% endfor
#include <${interface.headerFile()}>
-#ifndef SDBUSPP_REMOVE_DEPRECATED_NAMESPACE
-namespace sdbusplus::${interface.old_cppNamespacedClass("client")}
-{
-
-constexpr auto interface =
- sdbusplus::common::${interface.cppNamespacedClass()}::interface;
-
-} // namespace sdbusplus::${interface.old_cppNamespacedClass("client")}
-#endif
-
namespace sdbusplus::client::${interface.cppNamespace()}
{