chiark / gitweb /
remove UDEVD_UEVENT_INITSEND
authorKay Sievers <kay.sievers@suse.de>
Sat, 28 Jan 2006 04:04:38 +0000 (05:04 +0100)
committerKay Sievers <kay.sievers@suse.de>
Sat, 28 Jan 2006 04:04:38 +0000 (05:04 +0100)
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
udevd.c
udevd.h

diff --git a/udevd.c b/udevd.c
index c94fdc7..3f4605e 100644 (file)
--- a/udevd.c
+++ b/udevd.c
@@ -527,7 +527,6 @@ static struct uevent_msg *get_msg_from_envbuf(const char *buf, int buf_size)
                free(msg);
                return NULL;
        }
-
        return msg;
 }
 
@@ -581,7 +580,6 @@ static struct uevent_msg *get_udevd_msg(void)
 
        switch (usend_msg.type) {
        case UDEVD_UEVENT_UDEVSEND:
-       case UDEVD_UEVENT_INITSEND:
                info("udevd event message received");
                envbuf_size = size - offsetof(struct udevd_msg, envbuf);
                dbg("envbuf_size=%i", envbuf_size);
diff --git a/udevd.h b/udevd.h
index 242c0b6..9ab6a44 100644 (file)
--- a/udevd.h
+++ b/udevd.h
@@ -44,7 +44,6 @@
 enum udevd_msg_type {
        UDEVD_UNKNOWN,
        UDEVD_UEVENT_UDEVSEND,
-       UDEVD_UEVENT_INITSEND,
        UDEVD_UEVENT_NETLINK,
        UDEVD_STOP_EXEC_QUEUE,
        UDEVD_START_EXEC_QUEUE,