Re: [PATCH] net: hns3: remove redundant variable 'protocol'

From: David Miller
Date: Wed Jul 04 2018 - 09:41:07 EST


From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Wed, 4 Jul 2018 08:59:25 +0100

> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> Variable 'protocol' is being assigned but is never used hence it is
> redundant and can be removed.
>
> Cleans up clang warning:
> warning: variable 'protocol' set but not used [-Wunused-but-set-variable]
>
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Applied.