patch-2.4.20 linux-2.4.20/include/net/dsfield.h

Next file: linux-2.4.20/include/net/irda/discovery.h
Previous file: linux-2.4.20/include/net/bluetooth/hci_core.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/include/net/dsfield.h linux-2.4.20/include/net/dsfield.h
@@ -51,29 +51,4 @@
 }
 
 
-#if 0 /* put this later into asm-i386 or such ... */
-
-static inline void ip_change_dsfield(struct iphdr *iph,__u16 dsfield)
-{
-	__u16 check;
-
-	__asm__ __volatile__("
-		movw	10(%1),%0
-		xchg	%b0,%h0
-		addb	1(%1),%b0
-		adcb	$0,%h0
-		adcw	$1,%0
-		cmc
-		sbbw	%2,%0
-		sbbw	$0,%0
-		movb	%b2,1(%1)
-		xchg	%b0,%h0
-		movw	%0,10(%1)"
-	    : "=&r" (check)
-	    : "r" (iph), "r" (dsfield)
-	    : "cc");
-}
-
-#endif
-
 #endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)