]> asedeno.scripts.mit.edu Git - linux.git/commit
usb: host: xhci-plat: Remove useless test before clk_disable_unprepare
authorGregory CLEMENT <gregory.clement@bootlin.com>
Fri, 20 Apr 2018 13:52:51 +0000 (16:52 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Apr 2018 14:24:20 +0000 (16:24 +0200)
commit2d79609bf21eedb2142f9dff7d4af9919cd7399a
tree14d206ccc3493ca505218a3521ae88c40621dabe
parent621faf4f6a181b6e012c1d1865213f36f4159b7f
usb: host: xhci-plat: Remove useless test before clk_disable_unprepare

clk_disable_unprepare() already checks that the clock pointer is valid.
No need to test it before calling it.

Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-plat.c