Re: [PATCH] fjes: use currently unused variable my_epid and max_epid
From: David Miller
Date: Thu Jul 05 2018 - 06:35:10 EST
From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Thu, 5 Jul 2018 11:05:32 +0100
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> Variables my_epid and max_epid are currently assigned and not being
> used - however, I suspect they were intended to be used in the for-loops
> to reduce the dereferencing of hw. Replace hw->my_epid and hw->max_epid
> with these variables.
>
> Cleans up clang warnings:
> warning: variable 'my_epid' set but not used [-Wunused-but-set-variable]
> variable 'max_epid' set but not used [-Wunused-but-set-variable]
>
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
Applied.