Re: [PATCH] gpio: gpio-vr41xx.c: Cleaning up values that are never used

From: Linus Walleij
Date: Tue Jul 08 2014 - 03:25:06 EST


On Thu, Jun 26, 2014 at 3:38 PM, Rickard Strandqvist
<rickard_strandqvist@xxxxxxxxxxxxxxxxxx> wrote:

> Remove variable that are never used
>
> This was found using a static code analysis program called cppcheck.
>
> Signed-off-by: Rickard Strandqvist <rickard_strandqvist@xxxxxxxxxxxxxxxxxx>

Hm that was easy enough to fix up properly by actually checking
the return value so I cooked another patch and put you as
Reported-by:, should be on the linux-gpio list.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/