diff options
author | Marek BehĂșn <marek.behun@nic.cz> | 2020-09-18 00:33:34 +0200 |
---|---|---|
committer | Pavel Machek <pavel@ucw.cz> | 2020-09-26 21:56:42 +0200 |
commit | 48b77cdca50a180fd1f22f4ae3b3d1e4ec7d2e5c (patch) | |
tree | 75df45753a6b0ce289d68613a637010ebd8d5506 /include | |
parent | leds: ns2: register LED immediately after parsing DT properties (diff) | |
download | linux-48b77cdca50a180fd1f22f4ae3b3d1e4ec7d2e5c.tar.xz linux-48b77cdca50a180fd1f22f4ae3b3d1e4ec7d2e5c.zip |
leds: ns2: remove unneeded variable
No need to use variable found, we can determine whether the mode was
found by comparing iterator variable to its limit.
Signed-off-by: Marek BehĂșn <marek.behun@nic.cz>
Cc: Simon Guinot <simon.guinot@sequanux.org>
Cc: Simon Guinot <sguinot@lacie.com>
Cc: Vincent Donnefort <vdonnefort@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions