Re: [PATCH v2] pinctrl: pinctrl-msm.c: Cleaning up variable that is never used

From: Linus Walleij
Date: Wed Jul 09 2014 - 06:20:52 EST


On Mon, Jul 7, 2014 at 9:08 PM, Rickard Strandqvist
<rickard_strandqvist@xxxxxxxxxxxxxxxxxx> wrote:

> Variable ar assigned a value that is never used.
> I have also removed all the code that thereby serves no purpose.
>
> This was found using a static code analysis program called cppcheck
>
> Signed-off-by: Rickard Strandqvist <rickard_strandqvist@xxxxxxxxxxxxxxxxxx>

Aw sorry - the disable() functions were all deleted in another
patch set so this is no longer a problem.

I should have noticed at once, but my brain is a bit messy due
to too many things to think about :-/

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/