Skip to content

Commit

Permalink
ath9k: remove debug message for no memoery on ath_init()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Luis R. Rodriguez authored and John W. Linville committed Aug 4, 2009
1 parent b8b0f37 commit 08e0403
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/net/wireless/ath/ath9k/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1324,8 +1324,6 @@ static int ath_init(u16 devid, struct ath_softc *sc)

ah = kzalloc(sizeof(struct ath_hw), GFP_KERNEL);
if (!ah) {
DPRINTF(sc, ATH_DBG_FATAL,
"Cannot allocate memory for state block\n");
r = -ENOMEM;
goto bad_no_ah;
}
Expand Down

0 comments on commit 08e0403

Please sign in to comment.