On Tue, May 19, 2009 at 3:33 PM, Bob Copeland <me@xxxxxxxxxxxxxxx> wrote: > On Tue, May 19, 2009 at 5:49 PM, Luis R. Rodriguez > --- > a/drivers/net/wireless/ath/ath9k/main.c >> +++ b/drivers/net/wireless/ath/ath9k/main.c >> @@ -1412,8 +1412,6 @@ static int ath_init(u16 devid, struct ath_softc *sc) >> for (i = 0; i < sc->keymax; i++) >> ath9k_hw_keyreset(ah, (u16) i); >> >> - error = ath_regd_init(&sc->sc_ah->regulatory, sc->hw->wiphy, >> - ath9k_reg_notifier); >> if (error) >> goto bad; > > Is the "if (error)" check still valid? Sure, although we'll never hit it, we should just make ath_regd_init() void. Luis -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html