]> git.baikalelectronics.ru Git - kernel.git/commit
skbuff: remove unused variable `doff'
authorSowmini Varadhan <sowmini.varadhan@oracle.com>
Tue, 10 May 2016 16:38:08 +0000 (12:38 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 May 2016 20:05:12 +0000 (16:05 -0400)
commitbf70def12fd088f648b2731f4c18beb6b1508926
treee3c9f78ee963e0f8f75aabdb2c014c133de55975
parentff15b154a9be85a214267c1b7aa8779482416b1d
skbuff: remove unused variable `doff'

There are two instances of an unused variable, `doff' added by
commit 9723e0a71004 ("skbuff: Add pskb_extract() helper function")
in pskb_carve_inside_header() and pskb_carve_inside_nonlinear().
Remove these instances, they are not used.

Reported by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/skbuff.c