summaryrefslogtreecommitdiff
path: root/udev.c
diff options
context:
space:
mode:
authorGreg KH <greg@press.(none)>2005-04-26 22:52:57 -0700
committerGreg KH <gregkh@suse.de>2005-04-26 22:52:57 -0700
commitb1e95455d2683f43f47ea94a7b79af64f0738d36 (patch)
tree4efb7211299e444bd18e323455e9715d5a643dee /udev.c
parent7757db1f859616171693ed9a54d1d16d3d5ed8e9 (diff)
fixups to get back to proper patch order
Damm, it's hard to merge a multi-line tree into one flat line at times...
Diffstat (limited to 'udev.c')
-rw-r--r--udev.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/udev.c b/udev.c
index 5ad7e425e6..35fa533a4e 100644
--- a/udev.c
+++ b/udev.c
@@ -108,7 +108,6 @@ int main(int argc, char *argv[], char *envp[])
udev_init_config();
/* set signal handlers */
- memset(&act, 0x00, sizeof(act));
act.sa_handler = (void (*) (int))sig_handler;
sigemptyset (&act.sa_mask);
act.sa_flags = 0;
@@ -193,10 +192,6 @@ int main(int argc, char *argv[], char *envp[])
/* get node from db, remove db-entry, delete created node */
retval = udev_remove_device(&udev);
- /* Set the DEVNAME if known */
- if (udev.devname[0] != '\0') {
- setenv("DEVNAME", udev.devname, 1);
- }
/* run dev.d/ scripts if we're not instructed to ignore the event */
if (udev_dev_d && udev.devname[0] != '\0') {
setenv("DEVNAME", udev.devname, 1);