Re: orinoco_usb: remove redundant pointer dev
From: Kalle Valo
Date: Wed Nov 08 2017 - 07:52:55 EST
Colin Ian King <colin.king@xxxxxxxxxxxxx> wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> The pointer dev is assigned but never read, hence it is redundant
> and can be removed. Cleans up clang warning:
>
> drivers/net/wireless/intersil/orinoco/orinoco_usb.c:1468:2: warning:
> Value stored to 'dev' is never read
>
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
Patch applied to wireless-drivers-next.git, thanks.
9b741b2a3148 orinoco_usb: remove redundant pointer dev
--
https://patchwork.kernel.org/patch/10040113/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches