Re: [PATCH] padata: Remove unused but set variables

From: Steffen Klassert
Date: Fri Oct 21 2016 - 05:01:01 EST


On Mon, Oct 17, 2016 at 12:16:08PM +0200, Tobias Klauser wrote:
> Remove the unused but set variable pinst in padata_parallel_worker to
> fix the following warning when building with 'W=1':
>
> kernel/padata.c: In function âpadata_parallel_workerâ:
> kernel/padata.c:68:26: warning: variable âpinstâ set but not used [-Wunused-but-set-variable]
>
> Also remove the now unused variable pd which is only used to set pinst.
>
> Signed-off-by: Tobias Klauser <tklauser@xxxxxxxxxx>

Acked-by: Steffen Klassert <steffen.klassert@xxxxxxxxxxx>

Thanks!