staging: et131x: Use skb_headlen() where appropriate
authorMark Einon <mark.einon@gmail.com>
Wed, 17 Oct 2012 21:15:11 +0000 (22:15 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Oct 2012 23:01:32 +0000 (16:01 -0700)
commitf1b540b92c54531484d00bb790ad47f3f44b2798
tree77bb58afdee123f3dd04360ef5ecdbd5aaacfbf3
parent355d8ae57be9d3a2fe5764f75e394063022b7866
staging: et131x: Use skb_headlen() where appropriate

(skb->len - skb->data_len) is used in several places in the et131x
driver code. Converted all instances of this to use skb_headlen()
which is more readable.

Signed-off-by: Mark Einon <mark.einon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/et131x/et131x.c