diff options
author | greg@kroah.com <greg@kroah.com> | 2004-03-24 21:11:13 -0800 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:35:11 -0700 |
commit | 7e371e86a420cb82948b72ca3dd93915cb8dd764 (patch) | |
tree | de5400ebe8f3aea666d7cdebb851940b8d911aac /udev.c | |
parent | dd64e26b0c88892b367f57c4c7a7484e35641c7c (diff) |
[PATCH] remove dbus code from core udev code as it's no longer needed to be there.
Diffstat (limited to 'udev.c')
-rw-r--r-- | udev.c | 11 |
1 files changed, 1 insertions, 10 deletions
@@ -32,7 +32,6 @@ #include "udev.h" #include "udev_lib.h" #include "udev_version.h" -#include "udev_dbus.h" #include "logging.h" #include "namedev.h" #include "udevdb.h" @@ -61,7 +60,6 @@ static void sig_handler(int signum) switch (signum) { case SIGINT: case SIGTERM: - sysbus_disconnect(); udevdb_exit(); exit(20 + signum); default: @@ -123,14 +121,11 @@ static int udev_hotplug(void) i++; } - /* connect to the system message bus */ - sysbus_connect(); - /* initialize udev database */ retval = udevdb_init(UDEVDB_DEFAULT); if (retval != 0) { dbg("unable to initialize database"); - goto exit_sysbus; + goto exit; } /* set up a default signal handler for now */ @@ -154,10 +149,6 @@ static int udev_hotplug(void) udevdb_exit(); -exit_sysbus: - /* disconnect from the system message bus */ - sysbus_disconnect(); - exit: if (retval > 0) retval = 0; |