wifi: ath5k: Remove redundant dev_err()
authorRuan Jinjie <ruanjinjie@huawei.com>
Mon, 21 Aug 2023 07:57:09 +0000 (10:57 +0300)
committerKalle Valo <quic_kvalo@quicinc.com>
Tue, 22 Aug 2023 13:32:52 +0000 (16:32 +0300)
commitf708ed71775d2216d829fe6e00f1b4c6b38bc03c
treea5a6d768d3bd05b071f40ff8e6442d09971a57ac
parentcb39c35783f26892bb1a72b1115c94fa2e77f4c5
wifi: ath5k: Remove redundant dev_err()

There is no need to call the dev_err() function directly to print a custom
message when handling an error from platform_get_irq() function as it is
going to display an appropriate error message in case of a failure.

Signed-off-by: Ruan Jinjie <ruanjinjie@huawei.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20230726171235.2475625-1-ruanjinjie@huawei.com
drivers/net/wireless/ath/ath5k/ahb.c