]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Remove shadowed variable
authorJouni Malinen <jouni.malinen@atheros.com>
Thu, 26 Mar 2009 17:09:25 +0000 (19:09 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 26 Mar 2009 17:09:25 +0000 (19:09 +0200)
hostapd/hostapd.c

index 1cf21cabc10f884cdd64773350efd3fde962fc86..8e1a943ce92308b4e19a1f644d3a76a70ba1e788 100644 (file)
@@ -1299,7 +1299,6 @@ static int setup_interface(struct hostapd_iface *iface)
        u8 *b = conf->bssid;
        int freq;
        size_t j;
-       int ret = 0;
        u8 *prev_addr;
 
        /*
@@ -1433,7 +1432,7 @@ static int setup_interface(struct hostapd_iface *iface)
                return -1;
        }
 
-       return ret;
+       return 0;
 }