systemd-target-monitor: remove unused sdeventplus

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ifa1f8e810a601c5d2a238c358a8710fef1e54aab
diff --git a/systemd_target_monitor.cpp b/systemd_target_monitor.cpp
index a02f693..a0fea9e 100644
--- a/systemd_target_monitor.cpp
+++ b/systemd_target_monitor.cpp
@@ -5,7 +5,6 @@
 #include <CLI/CLI.hpp>
 #include <phosphor-logging/lg2.hpp>
 #include <sdbusplus/bus.hpp>
-#include <sdeventplus/event.hpp>
 
 #include <iostream>
 #include <vector>
@@ -44,8 +43,6 @@
 int main(int argc, char* argv[])
 {
     auto bus = sdbusplus::bus::new_default();
-    auto event = sdeventplus::Event::get_default();
-    bus.attach_event(event.get(), SD_EVENT_PRIORITY_NORMAL);
     std::vector<std::string> targetFilePaths;
     std::vector<std::string> serviceFilePaths;
 
@@ -91,5 +88,6 @@
     // Subscribe to systemd D-bus signals indicating target completions
     targetMon.subscribeToSystemdSignals();
 
-    return event.loop();
+    bus.process_loop();
+    return 0;
 }
diff --git a/systemd_target_signal.cpp b/systemd_target_signal.cpp
index 2014045..30e5d5b 100644
--- a/systemd_target_signal.cpp
+++ b/systemd_target_signal.cpp
@@ -6,7 +6,6 @@
 #include <phosphor-logging/lg2.hpp>
 #include <sdbusplus/exception.hpp>
 #include <sdbusplus/server/manager.hpp>
-#include <sdeventplus/event.hpp>
 #include <xyz/openbmc_project/Common/error.hpp>
 #include <xyz/openbmc_project/Logging/Create/client.hpp>
 #include <xyz/openbmc_project/Logging/Entry/client.hpp>