Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932493AbcJUJA7 (ORCPT ); Fri, 21 Oct 2016 05:00:59 -0400 Received: from a.mx.secunet.com ([62.96.220.36]:50961 "EHLO a.mx.secunet.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932090AbcJUJA5 (ORCPT ); Fri, 21 Oct 2016 05:00:57 -0400 Date: Fri, 21 Oct 2016 11:00:47 +0200 From: Steffen Klassert To: Tobias Klauser CC: , Subject: Re: [PATCH] padata: Remove unused but set variables Message-ID: <20161021090047.GO19080@gauss.secunet.com> References: <20161017101608.18007-1-tklauser@distanz.ch> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20161017101608.18007-1-tklauser@distanz.ch> User-Agent: Mutt/1.5.21 (2010-09-15) X-Originating-IP: [10.182.7.102] X-EXCLAIMER-MD-CONFIG: 2c86f778-e09b-4440-8b15-867914633a10 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 560 Lines: 14 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 Thanks!