Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753593AbeABCuw (ORCPT + 1 other); Mon, 1 Jan 2018 21:50:52 -0500 Received: from ozlabs.org ([103.22.144.67]:55371 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751478AbeABCuu (ORCPT ); Mon, 1 Jan 2018 21:50:50 -0500 Date: Tue, 2 Jan 2018 13:50:48 +1100 From: Stephen Rothwell To: Jarkko Sakkinen Cc: Linux-Next Mailing List , Linux Kernel Mailing List , Azhar Shaikh Subject: linux-next: build warning after merge of the tpmdd tree Message-ID: <20180102135048.09b3338b@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: Hi Jarkko, After merging the tpmdd tree, today's linux-next build (x86_64 allmodconfig) produced this warning: drivers/char/tpm/tpm_tis.c: In function 'tpm_tis_pnp_remove': drivers/char/tpm/tpm_tis.c:274:23: warning: unused variable 'priv' [-Wunused-variable] struct tpm_tis_data *priv = dev_get_drvdata(&chip->dev); ^ drivers/char/tpm/tpm_tis.c: In function 'tpm_tis_plat_remove': drivers/char/tpm/tpm_tis.c:324:23: warning: unused variable 'priv' [-Wunused-variable] struct tpm_tis_data *priv = dev_get_drvdata(&chip->dev); ^ Introduced by commit 6d0866cbc2d3 ("tpm: Keep CLKRUN enabled throughout the duration of transmit_cmd()") -- Cheers, Stephen Rothwell