ath9k: remove debug message for no memoery on ath_init()
We're now propagating the -ENOMEM error so there is no need to keep a debug message there now. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
b8b0f377c7
commit
08e0403a14
@@ -1324,8 +1324,6 @@ static int ath_init(u16 devid, struct ath_softc *sc)
|
|||||||
|
|
||||||
ah = kzalloc(sizeof(struct ath_hw), GFP_KERNEL);
|
ah = kzalloc(sizeof(struct ath_hw), GFP_KERNEL);
|
||||||
if (!ah) {
|
if (!ah) {
|
||||||
DPRINTF(sc, ATH_DBG_FATAL,
|
|
||||||
"Cannot allocate memory for state block\n");
|
|
||||||
r = -ENOMEM;
|
r = -ENOMEM;
|
||||||
goto bad_no_ah;
|
goto bad_no_ah;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user