Re: [PATCH][gpio-next] gpio: mockup: remove unused variable gc

From: Linus Walleij
Date: Thu Aug 31 2017 - 09:21:42 EST


On Thu, Aug 24, 2017 at 1:34 PM, Colin King <colin.king@xxxxxxxxxxxxx> wrote:

> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> The variable gc is assigned but never read and is redundant. Remove it.
> Cleans up clang warning:
>
> drivers/gpio/gpio-mockup.c:169:2: warning: Value stored to 'gc' is never read
>
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Patch applied.

Yours,
Linus Walleij