summaryrefslogtreecommitdiff
path: root/udev-add.c
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2004-03-24 21:11:13 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:35:11 -0700
commit7e371e86a420cb82948b72ca3dd93915cb8dd764 (patch)
treede5400ebe8f3aea666d7cdebb851940b8d911aac /udev-add.c
parentdd64e26b0c88892b367f57c4c7a7484e35641c7c (diff)
[PATCH] remove dbus code from core udev code as it's no longer needed to be there.
Diffstat (limited to 'udev-add.c')
-rw-r--r--udev-add.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/udev-add.c b/udev-add.c
index 94a423dc6e..369ea82b6c 100644
--- a/udev-add.c
+++ b/udev-add.c
@@ -39,7 +39,6 @@
#include "udev.h"
#include "udev_lib.h"
#include "udev_version.h"
-#include "udev_dbus.h"
#include "udev_selinux.h"
#include "logging.h"
#include "namedev.h"
@@ -417,10 +416,8 @@ int udev_add_device(char *path, char *subsystem, int fake)
dbg("name='%s'", dev.name);
retval = create_node(&dev, fake);
- if ((retval == 0) && (!fake)) {
+ if ((retval == 0) && (!fake))
dev_d_send(&dev, subsystem);
- sysbus_send_create(&dev, path);
- }
exit:
if (class_dev)