]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: omap-hsmmc: remove redundant null check
authorXu Wang <vulab@iscas.ac.cn>
Thu, 3 Sep 2020 08:48:25 +0000 (08:48 +0000)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 7 Sep 2020 07:21:40 +0000 (09:21 +0200)
commit2c86c4d4b1de35e1a7a785c2df21b00f46190412
treea37da8a7e0bac092cbf5c954a72b18adb5c24e36
parented3383ba968d418872b3496a97df327483720428
mmc: omap-hsmmc: remove redundant null check

Because clk_disable_unprepare already checked NULL clock parameter, so the
additional checks are unnecessary, just remove them.

Signed-off-by: Xu Wang <vulab@iscas.ac.cn>
Link: https://lore.kernel.org/r/20200903084825.85616-1-vulab@iscas.ac.cn
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/omap_hsmmc.c