Re: [PATCH] net: hso: remove redundant unused variable dev

From: David Miller
Date: Wed Nov 01 2017 - 08:24:27 EST


From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Tue, 31 Oct 2017 12:01:47 +0000

> 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 warning:
>
> drivers/net/usb/hso.c:2280:2: warning: Value stored to 'dev' is
> never read
>
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Applied.