[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20161018.103050.733161515228833426.davem@davemloft.net>
Date: Tue, 18 Oct 2016 10:30:50 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: tklauser@...tanz.ch
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] ipv4: Remove unused but set variable
From: Tobias Klauser <tklauser@...tanz.ch>
Date: Tue, 18 Oct 2016 09:40:20 +0200
> Remove the unused but set variable dev in ip_do_fragment to fix the
> following GCC warning when building with 'W=1':
>
> net/ipv4/ip_output.c: In function ‘ip_do_fragment’:
> net/ipv4/ip_output.c:541:21: warning: variable ‘dev’ set but not used [-Wunused-but-set-variable]
>
> Signed-off-by: Tobias Klauser <tklauser@...tanz.ch>
Applied.
Powered by blists - more mailing lists