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)
commit7e1670c15c9b18d614b43a674e086eb3e239c8f7
treec3becf17f922244e9f37670cfdbb9c90294fd0d0
parent1826277802d83b47d77e6a3e876aec07777aa271
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