From mboxrd@z Thu Jan 1 00:00:00 1970 From: Emil Goode Subject: Re: [PATCH] batman-adv: Remove unused variable Date: Wed, 06 Feb 2013 18:55:53 +0100 Message-ID: <1360173353.22154.4.camel@debian> References: <1360168661-16871-1-git-send-email-emilgoode@gmail.com> <20130206172234.GB6008@ritirata.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: lindner_marek@yahoo.de, siwu@hrz.tu-chemnitz.de, davem@davemloft.net, b.a.t.m.a.n@lists.open-mesh.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org To: Antonio Quartulli Return-path: In-Reply-To: <20130206172234.GB6008@ritirata.org> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org Hi Antonio, The commit ed242d01 is in the linux-next tree and my patch depends on that commit. Best regards, Emil On Wed, 2013-02-06 at 18:22 +0100, Antonio Quartulli wrote: > Hi Emil, >=20 > On Wed, Feb 06, 2013 at 05:37:41 +0100, Emil Goode wrote: > > The commit ed242d01 removed a node parameter from iterators. > > This patch removes a hlist_node struct that is no longer used. > >=20 > > Sparse gives a warning: > >=20 > > net/batman-adv/originator.c:411:21: warning: > > unused variable =E2=80=98node_tmp=E2=80=99 [-Wunused-variable] > >=20 > > Signed-off-by: Emil Goode >=20 > On which tree did you base your patch? > I cannot find the commit you are referring to (ed242d01) and the patc= h does not > apply (neither on net nor net-next). >=20 > Other than that the variable is used a couple of lines below (in the = code we > have)... >=20 > Regards, >=20