]> git.karo-electronics.de Git - linux-beck.git/commit
padata: Remove unused but set variables
authorTobias Klauser <tklauser@distanz.ch>
Mon, 17 Oct 2016 10:16:08 +0000 (12:16 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 25 Oct 2016 03:08:10 +0000 (11:08 +0800)
commit119a0798dc42ed4c4f96d39b8b676efcea73aec6
tree870cd2cd1ef77e6766ae5efb525d8b2c6e7b3635
parent3cf799680d2612a21d50ed554848dd37241672c8
padata: Remove unused but set variables

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@distanz.ch>
Acked-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
kernel/padata.c