Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1160004

Re: [PATCH] wan: dscc4: fix build warning Wunused-but-set-variable

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH] wan: dscc4: fix build warning Wunused-but-set-variable
Date Sun, 07 Jun 2015 09:20:01 +0200
Message-ID <pyD29-z5-3@gated-at.bofh.it> (permalink)
References <pyhXI-3eH-7@gated-at.bofh.it>
X-Original-To hofrat@osadl.org
X-Mailer Mew version 6.6 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO)
MIME-Version 1.0
Content-Type Text/Plain; charset=us-ascii
Content-Transfer-Encoding 7bit
X-Greylist Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Sun, 07 Jun 2015 00:16:29 -0700 (PDT)
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 19
Organization linux.* mail to news gateway
X-Original-Cc romieu@fr.zoreil.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org
X-Original-Date Sun, 07 Jun 2015 00:16:28 -0700 (PDT)
X-Original-Message-ID <20150607.001628.2135737400226810600.davem@davemloft.net>
X-Original-References <1433580077-1271-1-git-send-email-hofrat@osadl.org>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref aioe.org linux.kernel:1160004

Show key headers only | View raw


From: Nicholas Mc Guire <hofrat@osadl.org>
Date: Sat,  6 Jun 2015 10:41:17 +0200

> Fix:
> drivers/net/wan/dscc4.c: In function 'dscc4_open':
> drivers/net/wan/dscc4.c:1049:25: warning: variable 'ppriv' set but not used
> [-Wunused-but-set-variable]
> 
> This has been in there unused since 1da177e4c3f (Linux-2.6.12-rc2) simply
> remove it.
> 
> Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] wan: dscc4: fix build warning Wunused-but-set-variable David Miller <davem@davemloft.net> - 2015-06-07 09:20 +0200

csiph-web