Remove sync busname
The are no D-Bus interfaces provided by this service,
so there is no need for it to have a busname.
Change-Id: Iab4f243ec330a2d14e9c92d652f0bbeffc439f38
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
diff --git a/configure.ac b/configure.ac
index 0165e08..8425af7 100755
--- a/configure.ac
+++ b/configure.ac
@@ -77,11 +77,6 @@
[DOWNLOAD_BUSNAME="xyz.openbmc_project.Software.Download"])
AC_DEFINE_UNQUOTED([DOWNLOAD_BUSNAME], ["$DOWNLOAD_BUSNAME"], [The DBus busname to own])
-AC_ARG_VAR(SYNC_BUSNAME, [The D-Bus busname to own])
-AS_IF([test "x$SYNC_BUSNAME" == "x"],
- [SYNC_BUSNAME="xyz.openbmc_project.Software.Sync"])
-AC_DEFINE_UNQUOTED([SYNC_BUSNAME], ["$SYNC_BUSNAME"], [The D-Bus busname to own])
-
AC_DEFINE([MAPPER_BUSNAME], ["xyz.openbmc_project.ObjectMapper"], [Object mapper bus name])
AC_DEFINE([MAPPER_INTERFACE], ["xyz.openbmc_project.ObjectMapper"], [Object mapper interface])
AC_DEFINE([MAPPER_PATH], ["/xyz/openbmc_project/object_mapper"], [Object mapper DBUS path])
diff --git a/sync_manager_main.cpp b/sync_manager_main.cpp
index e1834b5..b801ba7 100644
--- a/sync_manager_main.cpp
+++ b/sync_manager_main.cpp
@@ -19,7 +19,6 @@
try
{
phosphor::software::manager::Sync syncManager;
- bus.request_name(SYNC_BUSNAME);
using namespace phosphor::software::manager;
phosphor::software::manager::SyncWatch watch(