set_skb_csum_bits() is empty in the current kernel tree
so just remove it.

--- 

* Compile tested only

Signed-off-by: Simon Horman <horms@verge.net.au>
Index: linux-2.6/drivers/staging/ovs-datapath/actions.h
===================================================================
--- linux-2.6.orig/drivers/staging/ovs-datapath/actions.h	2010-08-25 12:39:35.000000000 +0900
+++ linux-2.6/drivers/staging/ovs-datapath/actions.h	2010-08-25 12:41:32.000000000 +0900
@@ -22,22 +22,4 @@ int execute_actions(struct datapath *dp,
 		    const union odp_action *, int n_actions,
 		    gfp_t gfp);
 
-static inline void set_skb_csum_bits(const struct sk_buff *old_skb,
-				     struct sk_buff *new_skb)
-{
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,24)
-	/* Before 2.6.24 these fields were not copied when
-	 * doing an skb_copy_expand. */
-	new_skb->ip_summed = old_skb->ip_summed;
-	new_skb->csum = old_skb->csum;
-#endif
-#if defined(CONFIG_XEN) && defined(HAVE_PROTO_DATA_VALID)
-	/* These fields are copied in skb_clone but not in
-	 * skb_copy or related functions.  We need to manually
-	 * copy them over here. */
-	new_skb->proto_data_valid = old_skb->proto_data_valid;
-	new_skb->proto_csum_blank = old_skb->proto_csum_blank;
-#endif
-}
-
 #endif /* actions.h */
Index: linux-2.6/drivers/staging/ovs-datapath/actions.c
===================================================================
--- linux-2.6.orig/drivers/staging/ovs-datapath/actions.c	2010-08-25 12:39:35.000000000 +0900
+++ linux-2.6/drivers/staging/ovs-datapath/actions.c	2010-08-25 12:44:27.000000000 +0900
@@ -32,7 +32,6 @@ static struct sk_buff *make_writable(str
 
 		nskb = skb_copy_expand(skb, headroom, skb_tailroom(skb), gfp);
 		if (nskb) {
-			set_skb_csum_bits(skb, nskb);
 			kfree_skb(skb);
 			return nskb;
 		}
Index: linux-2.6/drivers/staging/ovs-datapath/tunnel.c
===================================================================
--- linux-2.6.orig/drivers/staging/ovs-datapath/tunnel.c	2010-08-25 12:39:35.000000000 +0900
+++ linux-2.6/drivers/staging/ovs-datapath/tunnel.c	2010-08-25 12:41:32.000000000 +0900
@@ -523,8 +523,6 @@ static struct sk_buff *check_headroom(st
 			return ERR_PTR(-ENOMEM);
 		}
 
-		set_skb_csum_bits(skb, nskb);
-
 		if (skb->sk)
 			skb_set_owner_w(nskb, skb->sk);
 



