提交 08e0403a 编写于 作者: L Luis R. Rodriguez 提交者: John W. Linville

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: NLuis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 b8b0f377
无相关合并请求
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
反馈
建议
客服 返回
顶部