diff options
author | Neil Armstrong <narmstrong@baylibre.com> | 2017-10-17 12:19:34 +0200 |
---|---|---|
committer | Philipp Zabel <p.zabel@pengutronix.de> | 2017-10-17 13:05:56 +0200 |
commit | 7e8838fe59515860823233353227e89b82b8794e (patch) | |
tree | 650e5e1143c86de2202e62ab9bb0484c5beb9c5f /lib/audit.c | |
parent | reset: meson: add level reset support for GX SoC family (diff) | |
download | linux-7e8838fe59515860823233353227e89b82b8794e.tar.xz linux-7e8838fe59515860823233353227e89b82b8794e.zip |
reset: meson: remove unneeded check in meson_reset_reset
The if (bank >= REG_COUNT) is not need since already checked
by the default rcdev->of_xlate implementation which guarantees that
id < rcdev->nr_resets.
Suggested-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'lib/audit.c')
0 files changed, 0 insertions, 0 deletions