net/wireless: ipw2x00: remove unreachable code
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / net / wireless / ipw2x00 / ipw2200.c
index 768bf612533e04317feb756efa17563400ce6ab2..fea96b58ab898617e9f341575ada3f5e1dcfc3a7 100644 (file)
@@ -11322,10 +11322,7 @@ static int ipw_up(struct ipw_priv *priv)
                                    priv->eeprom[EEPROM_COUNTRY_CODE + 2]);
                        j = 0;
                }
-               if (libipw_set_geo(priv->ieee, &ipw_geos[j])) {
-                       IPW_WARNING("Could not set geography.");
-                       return 0;
-               }
+               libipw_set_geo(priv->ieee, &ipw_geos[j]);
 
                if (priv->status & STATUS_RF_KILL_SW) {
                        IPW_WARNING("Radio disabled by module parameter.\n");