Remove pointless variable initialization
authorMarcel Holtmann <marcel@holtmann.org>
Tue, 18 Jan 2011 14:04:16 +0000 (15:04 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 18 Jan 2011 14:04:16 +0000 (15:04 +0100)
src/rfkill.c

index ba6da45..523c7e7 100644 (file)
@@ -76,11 +76,11 @@ static enum connman_service_type convert_type(uint8_t type)
 
 static GIOStatus rfkill_process(GIOChannel *chan)
 {
-       GIOStatus status = G_IO_STATUS_NORMAL;
        unsigned char buf[32];
        struct rfkill_event *event = (void *) buf;
        enum connman_service_type type;
        gsize len;
+       GIOStatus status;
 
        DBG("");