]> 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)
commit9025f86afa8378e7234b7dd9257443f05e3806b0
treec3becf17f922244e9f37670cfdbb9c90294fd0d0
parentad9a127de1a3491bb203c3d99a09e830ffa58e40
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