From: Luis R. Rodriguez Date: Mon, 3 Aug 2009 19:24:44 +0000 (-0700) Subject: ath9k: remove debug message for no memoery on ath_init() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=08e0403a1472d9fa3662369a36ccaf24c796a33e;p=linux-beck.git 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 Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c index 62429508578a..230dedbb2e03 100644 --- a/drivers/net/wireless/ath/ath9k/main.c +++ b/drivers/net/wireless/ath/ath9k/main.c @@ -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; }