Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1505601

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

From Steffen Klassert <steffen.klassert@secunet.com>
Newsgroups linux.kernel
Subject Re: [PATCH] padata: Remove unused but set variables
Date 2016-10-21 11:10 +0200
Message-ID <suDZT-3tk-1@gated-at.bofh.it> (permalink)
References <stdbr-2aY-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@distanz.ch>

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

Thanks!

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] padata: Remove unused but set variables Tobias Klauser <tklauser@distanz.ch> - 2016-10-17 12:20 +0200
  Re: [PATCH] padata: Remove unused but set variables Steffen Klassert <steffen.klassert@secunet.com> - 2016-10-21 11:10 +0200
    Re: [PATCH] padata: Remove unused but set variables Herbert Xu <herbert@gondor.apana.org.au> - 2016-10-25 05:40 +0200

csiph-web