clk: meson: remove duplicate logic
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 30 Jul 2019 21:03:43 +0000 (23:03 +0200)
committerNeil Armstrong <narmstrong@baylibre.com>
Wed, 31 Jul 2019 10:11:04 +0000 (12:11 +0200)
commit0c0cdc86103a1f579cb9f86a3c7c076abb383542
treed543fc4aa4a5d5caf55e3db90ed22d8caf72f115
parentb160fac9f7a9dc8021e2ad31e94a1460d1c51ff1
clk: meson: remove duplicate logic

First thing we check in meson_clk_set_rate_by_id() is current_rate == rate.
There is not need to check it again.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
drivers/clk/meson/gxbb.c