ath9k: pass only one argument to hw attach

The softc is cached and set within the ath_hw struct.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Этот коммит содержится в:
Luis R. Rodriguez
2009-08-03 12:24:40 -07:00
коммит произвёл John W. Linville
родитель ee2bb460e2
Коммит 07c10c6177
3 изменённых файлов: 8 добавлений и 8 удалений

Просмотреть файл

@@ -1334,7 +1334,7 @@ static int ath_init(u16 devid, struct ath_softc *sc)
ah->hw_version.devid = devid;
sc->sc_ah = ah;
r = ath9k_hw_attach(ah, sc);
r = ath9k_hw_attach(ah);
if (r) {
DPRINTF(sc, ATH_DBG_FATAL,
"Unable to attach hardware; "