diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2016-11-07 12:39:08 +0100 |
---|---|---|
committer | Lukas Slebodnik <lslebodn@redhat.com> | 2016-11-09 13:32:32 +0100 |
commit | fd25e68446ae86135489edb0823607b394f4ec40 (patch) | |
tree | 7f227181d34160e4fb1100092a13c7c4dadc447c /src/monitor | |
parent | ab792150c97bd6eba1f8cd46653f41a0c64fd765 (diff) | |
download | sssd-fd25e68446ae86135489edb0823607b394f4ec40.tar.gz sssd-fd25e68446ae86135489edb0823607b394f4ec40.tar.xz sssd-fd25e68446ae86135489edb0823607b394f4ec40.zip |
MONITOR: Remove unused shutDown sbus method
The shutDown method has not been used or set for a long time. Trim the
internal interface by removing all references to this internal method.
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
Diffstat (limited to 'src/monitor')
-rw-r--r-- | src/monitor/monitor_iface.xml | 4 | ||||
-rw-r--r-- | src/monitor/monitor_iface_generated.c | 7 | ||||
-rw-r--r-- | src/monitor/monitor_iface_generated.h | 2 |
3 files changed, 0 insertions, 13 deletions
diff --git a/src/monitor/monitor_iface.xml b/src/monitor/monitor_iface.xml index 585209a55..c2b5863a3 100644 --- a/src/monitor/monitor_iface.xml +++ b/src/monitor/monitor_iface.xml @@ -19,10 +19,6 @@ <!-- no arguments, raw handler --> <annotation name="org.freedesktop.sssd.RawHandler" value="true"/> </method> - <method name="shutDown"> - <!-- no arguments, raw handler --> - <annotation name="org.freedesktop.sssd.RawHandler" value="true"/> - </method> <method name="goOffline"> <!-- no arguments, raw handler --> <annotation name="org.freedesktop.sssd.RawHandler" value="true"/> diff --git a/src/monitor/monitor_iface_generated.c b/src/monitor/monitor_iface_generated.c index a39f6a68a..1ff1d4bb6 100644 --- a/src/monitor/monitor_iface_generated.c +++ b/src/monitor/monitor_iface_generated.c @@ -44,13 +44,6 @@ const struct sbus_method_meta mon_cli_iface__methods[] = { NULL, /* no invoker */ }, { - "shutDown", /* name */ - NULL, /* no in_args */ - NULL, /* no out_args */ - offsetof(struct mon_cli_iface, shutDown), - NULL, /* no invoker */ - }, - { "goOffline", /* name */ NULL, /* no in_args */ NULL, /* no out_args */ diff --git a/src/monitor/monitor_iface_generated.h b/src/monitor/monitor_iface_generated.h index 70958b9d1..a4647fcb9 100644 --- a/src/monitor/monitor_iface_generated.h +++ b/src/monitor/monitor_iface_generated.h @@ -19,7 +19,6 @@ /* constants for org.freedesktop.sssd.service */ #define MON_CLI_IFACE "org.freedesktop.sssd.service" #define MON_CLI_IFACE_RESINIT "resInit" -#define MON_CLI_IFACE_SHUTDOWN "shutDown" #define MON_CLI_IFACE_GOOFFLINE "goOffline" #define MON_CLI_IFACE_RESETOFFLINE "resetOffline" #define MON_CLI_IFACE_ROTATELOGS "rotateLogs" @@ -56,7 +55,6 @@ struct mon_srv_iface { struct mon_cli_iface { struct sbus_vtable vtable; /* derive from sbus_vtable */ sbus_msg_handler_fn resInit; - sbus_msg_handler_fn shutDown; sbus_msg_handler_fn goOffline; sbus_msg_handler_fn resetOffline; sbus_msg_handler_fn rotateLogs; |