usb: host: xhci-plat: Remove useless test before clk_disable_unprepare
authorGregory CLEMENT <gregory.clement@bootlin.com>
Thu, 19 Apr 2018 13:30:52 +0000 (15:30 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 22 Apr 2018 14:07:25 +0000 (16:07 +0200)
commit3e29109f51a6b5662467358a8258ce67d2e915f7
tree3570ecae538d231fe2dcdf05576fe92468c3ee73
parente8374db15436648411d933b01d929acae0538775
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-plat.c