Messages in this thread | | | From | Linus Walleij <> | Date | Tue, 31 Oct 2017 14:28:51 +0100 | Subject | Re: [PATCH] pinctrl: ti-iodelay: remove redundant unused variable dev |
| |
On Tue, Oct 31, 2017 at 12:20 PM, Colin King <colin.king@canonical.com> wrote:
> From: Colin Ian King <colin.king@canonical.com> > > 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@canonical.com>
Patch applied.
Yours, Linus Walleij
| |