On Tue, Jan 16, 2018 at 12:56 PM, Colin King <[email protected]> wrote:

> From: Colin Ian King <[email protected]>
>
> The initialized value stored in pointer desc is never read as it
> is updated in the first executable statement in the function.
> This is therefore redundant and can be removed.
>
> Cleans up clang warning:
> drivers/gpio/gpiolib.c:3710:20: warning: Value stored to 'desc'
> during its initialization is never read
>
> Signed-off-by: Colin Ian King <[email protected]>

Patch applied.

Yours,
Linus Walleij

Reply via email to