Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
[sfrench/cifs-2.6.git] / net / sctp / offload.c
index 2cae7440349c3c891c549650cb58da2b9b3ef820..74847d613835825784d70a5fec9c2db95df0b3a0 100644 (file)
@@ -94,11 +94,6 @@ static const struct net_offload sctp6_offload = {
        },
 };
 
-static const struct skb_checksum_ops crc32c_csum_ops = {
-       .update  = sctp_csum_update,
-       .combine = sctp_csum_combine,
-};
-
 int __init sctp_offload_init(void)
 {
        int ret;
@@ -111,7 +106,7 @@ int __init sctp_offload_init(void)
        if (ret)
                goto ipv4;
 
-       crc32c_csum_stub = &crc32c_csum_ops;
+       crc32c_csum_stub = &sctp_csum_ops;
        return ret;
 
 ipv4: