• Marek Behún's avatar
    leds: ns2: remove unneeded variable · 48b77cdc
    Marek Behún authored
    No need to use variable found, we can determine whether the mode was
    found by comparing iterator variable to its limit.
    Signed-off-by: default avatarMarek 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: default avatarPavel Machek <pavel@ucw.cz>
    48b77cdc
leds-ns2.c 6.71 KB