[PATCH] wifi: ath10k: Drop redundant NULL check on devm_clk_get()
Baochen Qiang
baochen.qiang at oss.qualcomm.com
Sun Jul 12 18:53:12 PDT 2026
On 7/6/2026 1:24 AM, Krzysztof Kozlowski wrote:
> devm_clk_get() does not return NULL (only valid clock or ERR pointer),
> so simplify the code to drop redundant IS_ERR_OR_NULL().
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski at oss.qualcomm.com>
Reviewed-by: Baochen Qiang <baochen.qiang at oss.qualcomm.com>
More information about the ath10k
mailing list