From patchwork Fri Sep 13 14:50:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Mauro Carvalho Chehab X-Patchwork-Id: 11144837 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 206AF1599 for ; Fri, 13 Sep 2019 14:50:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id F3B9F214D8 for ; Fri, 13 Sep 2019 14:50:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1568386238; bh=WV54R9SAWNCwgT4JV9vnWV2FEozZ1/JL/HN3Hp+AaZc=; h=From:Cc:Subject:Date:In-Reply-To:References:To:List-ID:From; b=MrQaGP5xMHzDJMna5wUmFF5t2pXZu473KHjW7lFr53VkhDRM+S85dHbelHrxZdgZl Io1nKt2Z4ymRzwRjIdLQEZMID1Vwdnaa0nlB+VTCO0TmJYId631tzbAunhhTiVzqEh DCAakCPyLIx+2xxOTLRpboBCrkSLKcfASg9qvEzU= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389016AbfIMOuh (ORCPT ); Fri, 13 Sep 2019 10:50:37 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:40790 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388993AbfIMOuh (ORCPT ); Fri, 13 Sep 2019 10:50:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc: To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Elp+uTImoCrNP71fv1uYeYHL/XQdxRr3L3U43a7bv/k=; b=qWoED4FLjqaj+cGPvaKEj26/3J iKnUjDpu4cPWq4d8LZoBCFQoZ2U/5GL5SRXI34Bfq82etwIHZzOuWP2rY95eusxmYm3Co+/p68mf5 Vx7VFzMGKj/xl+3FYTHx7R0gNvAQfYtTWHR8TwZRjbwyLsyS0ncIwJvQeS3Rgme6K3cRz2mdc2OAM +qthSj31SWg9MvJDzLuz5EsWr/LrX/azFdrEDMZ2QwCoX2y6IXSJhXgaXsII/MSV7zOm4cDqv1j5/ 1nQZFSiGbgNOKoM6PLKsGI+H0m/JwM+ZYyN0W6jxyUd1j6T9nKJxx6VDGYtaqqbja09Nn9H2xsvJH DGC4QLxQ==; Received: from 177.96.232.144.dynamic.adsl.gvt.net.br ([177.96.232.144] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.92.2 #3 (Red Hat Linux)) id 1i8muC-0002Mv-Mr; Fri, 13 Sep 2019 14:50:36 +0000 Received: from mchehab by bombadil.infradead.org with local (Exim 4.92.2) (envelope-from ) id 1i8mu9-00042q-ES; Fri, 13 Sep 2019 11:50:33 -0300 From: Mauro Carvalho Chehab Cc: Mauro Carvalho Chehab , Linux Edac Mailing List , Linux Kernel Mailing List , Borislav Petkov , Tony Luck , James Morse , Robert Richter Subject: [PATCH 1/7] EDAC: i5100_edac: get rid of an unused var Date: Fri, 13 Sep 2019 11:50:26 -0300 Message-Id: <0f79a3d3684dc6484e48cfce66ff2b560a1054c8.1568385816.git.mchehab+samsung@kernel.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: References: MIME-Version: 1.0 To: unlisted-recipients:; (no To-header on input) Sender: linux-edac-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-edac@vger.kernel.org As reported by GCC with W=1: drivers/edac/i5100_edac.c:714:16: warning: variable ‘et’ set but not used [-Wunused-but-set-variable] 714 | unsigned long et; | ^~ It sounds some left over from some code before the addition of an udelay(). Signed-off-by: Mauro Carvalho Chehab --- drivers/edac/i5100_edac.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/edac/i5100_edac.c b/drivers/edac/i5100_edac.c index 251f2b692785..12bebecb203b 100644 --- a/drivers/edac/i5100_edac.c +++ b/drivers/edac/i5100_edac.c @@ -713,7 +713,6 @@ static int i5100_read_spd_byte(const struct mem_ctl_info *mci, { struct i5100_priv *priv = mci->pvt_info; u16 w; - unsigned long et; pci_read_config_word(priv->mc, I5100_SPDDATA, &w); if (i5100_spddata_busy(w)) @@ -724,7 +723,6 @@ static int i5100_read_spd_byte(const struct mem_ctl_info *mci, 0, 0)); /* wait up to 100ms */ - et = jiffies + HZ / 10; udelay(100); while (1) { pci_read_config_word(priv->mc, I5100_SPDDATA, &w);