Re: [PATCH] qlogic: netxen: remove various redundant variables
From: David Miller
Date: Wed Jul 04 2018 - 09:41:22 EST
From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Wed, 4 Jul 2018 12:45:53 +0100
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> Variables consumer, cmd_desc, end_cnt and no_of_desc are being assigned
> but are never used hence they are redundant and can be removed.
>
> Cleans up clang warnings:
> warning: variable 'consumer' set but not used [-Wunused-but-set-variable]
> warning: variable 'cmd_desc' set but not used [-Wunused-but-set-variable]
> warning: variable 'end_cnt' set but not used [-Wunused-but-set-variable]
> warning: variable 'no_of_desc' set but not used [-Wunused-but-set-variable]
>
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
Applied.