Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754865AbeAGXlg (ORCPT + 1 other); Sun, 7 Jan 2018 18:41:36 -0500 Received: from userp2120.oracle.com ([156.151.31.85]:53000 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754649AbeAGXld (ORCPT ); Sun, 7 Jan 2018 18:41:33 -0500 Date: Mon, 8 Jan 2018 10:40:33 +1100 (AEDT) From: James Morris X-X-Sender: james.l.morris@localhost To: Arnd Bergmann cc: Peter Huewe , Jarkko Sakkinen , Jason Gunthorpe , Greg Kroah-Hartman , Azhar Shaikh , linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] tpm: remove unused variables In-Reply-To: <20180102103924.1035536-1-arnd@arndb.de> Message-ID: References: <20180102103924.1035536-1-arnd@arndb.de> User-Agent: Alpine 2.20 (LFD 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8767 signatures=668652 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=984 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1801070351 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Tue, 2 Jan 2018, 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 Reviewed-by: James Morris -- James Morris