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

From: Herbert Xu
Date: Mon Oct 24 2016 - 23:38:47 EST


Steffen Klassert <steffen.klassert@xxxxxxxxxxx> wrote:
> 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>

Patch applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt