]> git.baikalelectronics.ru Git - kernel.git/commit
ipv4: Remove unused but set variable
authorTobias Klauser <tklauser@distanz.ch>
Tue, 18 Oct 2016 07:40:20 +0000 (09:40 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Oct 2016 14:30:28 +0000 (10:30 -0400)
commitbb92ebd0edb3ac3cd9947e1dafc1e53da626c740
treec3becf17f922244e9f37670cfdbb9c90294fd0d0
parentdd68dba138787caf19e208d805c01f64b069ac83
ipv4: Remove unused but set variable

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@distanz.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_output.c