ath9k: Remove unnecessary print function dev_err()
authorYang Li <yang.lee@linux.alibaba.com>
Fri, 8 Apr 2022 00:01:13 +0000 (08:01 +0800)
committerKalle Valo <quic_kvalo@quicinc.com>
Tue, 12 Apr 2022 13:13:43 +0000 (16:13 +0300)
commitd7ceee8051ba226f1a481edadd06e34e200fcbab
tree3cc5c0cfa13429fcf0b86a91b82915f388939810
parent2578171ff85ed71d2575cd6abcd9c37c4b642b52
ath9k: Remove unnecessary print function dev_err()

The print function dev_err() is redundant because
platform_get_irq_byname() already prints an error.

Eliminate the follow coccicheck warning:
./drivers/net/wireless/ath/ath9k/ahb.c:103:2-9: line 103 is redundant
because platform_get_irq() already prints an error

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Acked-by: Toke Høiland-Jørgensen <toke@toke.dk>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20220408000113.129906-2-yang.lee@linux.alibaba.com
drivers/net/wireless/ath/ath9k/ahb.c