Re: [PATCH] pinctrl: ti-iodelay: remove redundant unused variable dev
From: Linus Walleij
Date: Tue Oct 31 2017 - 09:28:56 EST
On Tue, Oct 31, 2017 at 12:20 PM, Colin King <colin.king@xxxxxxxxxxxxx> wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> The pointer dev is being assigned but is never used, hence it is
> redundant and can be removed. Cleans up clang warnings:
>
> drivers/pinctrl/ti/pinctrl-ti-iodelay.c:582:2: warning: Value stored
> to 'dev' is never read
> drivers/pinctrl/ti/pinctrl-ti-iodelay.c:701:2: warning: Value stored
> to 'dev' is never read
>
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
Patch applied.
Yours,
Linus Walleij