server: remove bindings.hpp

binding.hpp had an unused template definition that was used as
an overload for converting enums to strings.  This function is
no longer used within the library nor generated bindings.  Remove
it and clean up the documentation of the generated version of this
function for enums to match the actual namespace where they are
defined.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I0e0db3daeca52169e2e4b95262b429836a7d1270
diff --git a/include/sdbusplus/server.hpp b/include/sdbusplus/server.hpp
index 62ee7f6..83d21e8 100644
--- a/include/sdbusplus/server.hpp
+++ b/include/sdbusplus/server.hpp
@@ -11,7 +11,6 @@
 using match_t = bus::match_t;
 } // namespace server
 } // namespace sdbusplus
-#include <sdbusplus/server/bindings.hpp>
 #include <sdbusplus/server/interface.hpp>
 #include <sdbusplus/server/manager.hpp>
 #include <sdbusplus/server/object.hpp>
diff --git a/include/sdbusplus/server/bindings.hpp b/include/sdbusplus/server/bindings.hpp
deleted file mode 100644
index b5429de..0000000
--- a/include/sdbusplus/server/bindings.hpp
+++ /dev/null
@@ -1,28 +0,0 @@
-#pragma once
-
-#include <utility>
-
-namespace sdbusplus
-{
-namespace server
-{
-namespace binding
-{
-namespace details
-{
-
-/** Utility for converting C++ types prior to 'append'ing to a message.
- *
- *  Some C++ types require conversion to a native dbus type before they
- *  can be inserted into a message.  This template provides a general no-op
- *  implementation for all other types.
- */
-template <typename T>
-T&& convertForMessage(T&& t)
-{
-    return std::forward<T>(t);
-}
-} // namespace details
-} // namespace binding
-} // namespace server
-} // namespace sdbusplus
diff --git a/tools/sdbusplus/templates/interface.server.hpp.mako b/tools/sdbusplus/templates/interface.server.hpp.mako
index 72c7bb3..ba7d398 100644
--- a/tools/sdbusplus/templates/interface.server.hpp.mako
+++ b/tools/sdbusplus/templates/interface.server.hpp.mako
@@ -186,7 +186,7 @@
 };
 
     % for e in interface.enums:
-/* Specialization of sdbusplus::server::bindings::details::convertForMessage
+/* Specialization of sdbusplus::server::convertForMessage
  * for enum-type ${classname}::${e.name}.
  *
  * This converts from the enum to a constant c-string representing the enum.