[lkml]   [2013]   [Feb]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] batman-adv: Remove unused variable
Hi Emil,

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.
> Sparse gives a warning:
> net/batman-adv/originator.c:411:21: warning:
> unused variable ‘node_tmp’ [-Wunused-variable]
> Signed-off-by: Emil Goode <>

On which tree did you base your patch?
I cannot find the commit you are referring to (ed242d01) and the patch does not
apply (neither on net nor net-next).

Other than that the variable is used a couple of lines below (in the code we


Antonio Quartulli

..each of us alone is worth nothing..
Ernesto "Che" Guevara
[unhandled content-type:application/pgp-signature]
 \ /
  Last update: 2013-02-06 19:21    [W:0.042 / U:6.860 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site