]> 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)
commit4e37f91f9dc1145226940d5fb662cce45baf1634
treee3c9f78ee963e0f8f75aabdb2c014c133de55975
parent1e452a37dfd4a78ccb5d828aa94646b1026f901d
skbuff: remove unused variable `doff'

There are two instances of an unused variable, `doff' added by
commit a6bbc325a4e8 ("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