aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2009-08-03 15:24:44 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-08-04 16:44:30 -0400
commit08e0403a1472d9fa3662369a36ccaf24c796a33e (patch)
tree6c3e8b7b8dbba0c84b2a14ae65ac32f7f11c15dc
parentb8b0f377c762558b3773e27f73c7bbcd0fa40171 (diff)
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>
-rw-r--r--drivers/net/wireless/ath/ath9k/main.c2
1 files changed, 0 insertions, 2 deletions
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)
1324 1324
1325 ah = kzalloc(sizeof(struct ath_hw), GFP_KERNEL); 1325 ah = kzalloc(sizeof(struct ath_hw), GFP_KERNEL);
1326 if (!ah) { 1326 if (!ah) {
1327 DPRINTF(sc, ATH_DBG_FATAL,
1328 "Cannot allocate memory for state block\n");
1329 r = -ENOMEM; 1327 r = -ENOMEM;
1330 goto bad_no_ah; 1328 goto bad_no_ah;
1331 } 1329 }