Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751640AbeABPgw (ORCPT + 1 other); Tue, 2 Jan 2018 10:36:52 -0500 Received: from mga02.intel.com ([134.134.136.20]:18982 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751561AbeABPgt (ORCPT ); Tue, 2 Jan 2018 10:36:49 -0500 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,497,1508828400"; d="scan'208";a="7813521" Date: Tue, 2 Jan 2018 17:36:43 +0200 From: Jarkko Sakkinen To: Arnd Bergmann Cc: Peter Huewe , Jason Gunthorpe , Greg Kroah-Hartman , Azhar Shaikh , James Morris , linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] tpm: remove unused variables Message-ID: <20180102153643.hb7eukts7j7dqkdz@linux.intel.com> References: <20180102103924.1035536-1-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180102103924.1035536-1-arnd@arndb.de> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Tue, Jan 02, 2018 at 11:38:54AM +0100, Arnd Bergmann wrote: > The CLKRUN fix caused a few harmless compile-time warnings: > > drivers/char/tpm/tpm_tis.c: In function 'tpm_tis_pnp_remove': > drivers/char/tpm/tpm_tis.c:274:23: error: unused variable 'priv' [-Werror=unused-variable] > drivers/char/tpm/tpm_tis.c: In function 'tpm_tis_plat_remove': > drivers/char/tpm/tpm_tis.c:324:23: error: unused variable 'priv' [-Werror=unused-variable] > > This removes the variables that have now become unused. > > Fixes: 6d0866cbc2d3 ("tpm: Keep CLKRUN enabled throughout the duration of transmit_cmd()") > Signed-off-by: Arnd Bergmann Thanks. Reviewed-by: Jarkko Sakkinen /Jarkko