Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758038AbcJYDio (ORCPT ); Mon, 24 Oct 2016 23:38:44 -0400 Received: from helcar.hengli.com.au ([209.40.204.226]:34435 "EHLO helcar.hengli.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756551AbcJYDin (ORCPT ); Mon, 24 Oct 2016 23:38:43 -0400 Date: Tue, 25 Oct 2016 11:38:30 +0800 From: Herbert Xu To: Steffen Klassert Cc: tklauser@distanz.ch, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] padata: Remove unused but set variables Message-ID: <20161025033830.GA18666@gondor.apana.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20161021090047.GO19080@gauss.secunet.com> Organization: Core X-Newsgroups: apana.lists.os.linux.cryptoapi,apana.lists.os.linux.kernel User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 802 Lines: 19 Steffen Klassert 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 > > Acked-by: Steffen Klassert Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt