tools: Remove dead assignment in supplicant
authorHenrique Dante de Almeida <hdante@profusion.mobi>
Tue, 8 May 2012 19:21:01 +0000 (16:21 -0300)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Wed, 9 May 2012 14:18:01 +0000 (17:18 +0300)
tools/supplicant.c

index b1d28d2..fd00114 100644 (file)
@@ -1745,10 +1745,8 @@ static void interface_get_result(const char *error,
        const char *path = NULL;
        int err;
 
-       if (error != NULL) {
-               err = -EIO;
+       if (error != NULL)
                goto create;
-       }
 
        dbus_message_iter_get_basic(iter, &path);
        if (path == NULL) {