net:use help function of skb_checksum_start_offset to calculate offset
authorShan Wei <shanwei@cn.fujitsu.com>
Fri, 22 Apr 2011 11:07:41 +0000 (19:07 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Apr 2011 20:28:57 +0000 (13:28 -0700)
commit96339d6c490a32de35fa798ca7922d13a8538ecd
treebfeab66ca069f4c4d99f30c2da23ae7c78c139e2
parentf6d8bd051c391c1c0458a30b2a7abcd939329259
net:use help function of skb_checksum_start_offset to calculate offset

Although these are equivalent, but the skb_checksum_start_offset() is more readable.

Signed-off-by: Shan Wei <shanwei@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tile/tilepro.c
net/ipv6/udp.c