]> www.infradead.org Git - users/jedix/linux-maple.git/commit
usb: fsl-mph-dr-of: Remove unnecessary NULL check before clk_disable_unprepare()
authorChen Ni <nichen@iscas.ac.cn>
Tue, 17 Jun 2025 04:19:17 +0000 (12:19 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jun 2025 10:27:29 +0000 (12:27 +0200)
commitb86c175689afb611f305367864c0e782d50c79f2
tree1236b5b0efd637679e63f08905f89d8695365f09
parenta891b9aebcc7406fe2f439d184bac3948fb08645
usb: fsl-mph-dr-of: Remove unnecessary NULL check before clk_disable_unprepare()

clk_disable_unprepare() already checks NULL by using IS_ERR_OR_NULL.
Remove unneeded NULL check for clk here.

Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Link: https://lore.kernel.org/r/20250617041917.1930885-1-nichen@iscas.ac.cn
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/fsl-mph-dr-of.c