Bluetooth: hci_qca: remove redundant null check
authorXu Wang <vulab@iscas.ac.cn>
Thu, 3 Sep 2020 08:27:19 +0000 (08:27 +0000)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 11 Sep 2020 06:45:32 +0000 (08:45 +0200)
commit65a24d4c2712182a3ca450cf9f019ee5ab332533
tree9a6be25a2ed22dcb1bc407df9b01a0b97ec3d548
parent0e9952804ec9c8ba60f131225eab80634339f042
Bluetooth: hci_qca: remove redundant null check

Because clk_disable_unprepare already checked
NULL clock parameter, so the additional check is
unnecessary, just remove it.

Signed-off-by: Xu Wang <vulab@iscas.ac.cn>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/hci_qca.c