]> git.baikalelectronics.ru Git - kernel.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)
commit2ace45c6a65bb1d6e03c41285867812e102dbbfc
tree14d206ccc3493ca505218a3521ae88c40621dabe
parent2c238d5240eb4461464a4d860ca8b09338b1d76e
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