diff options
author | Gregory CLEMENT <gregory.clement@bootlin.com> | 2018-02-28 19:35:29 +0300 |
---|---|---|
committer | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | 2018-03-08 18:23:35 +0300 |
commit | 5dcd7f15ac0c113b46adc80e66dac58024e56e97 (patch) | |
tree | d6cadfe2af5906de2331f5e8353fc1403f85b86b /drivers/misc/pci_endpoint_test.c | |
parent | 7928b2cbe55b2a410a0f5c1f154610059c57b1b2 (diff) | |
download | linux-5dcd7f15ac0c113b46adc80e66dac58024e56e97.tar.xz |
PCI: armada8k: 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>
[lorenzo.pieralisi@arm.com: updated commit log]
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Diffstat (limited to 'drivers/misc/pci_endpoint_test.c')
0 files changed, 0 insertions, 0 deletions