summaryrefslogtreecommitdiff
path: root/usr/src/uts/sparc/ml/ip_ocsum.s
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/sparc/ml/ip_ocsum.s')
-rw-r--r--usr/src/uts/sparc/ml/ip_ocsum.s14
1 files changed, 0 insertions, 14 deletions
diff --git a/usr/src/uts/sparc/ml/ip_ocsum.s b/usr/src/uts/sparc/ml/ip_ocsum.s
index acccf3e195..f3f31b70fb 100644
--- a/usr/src/uts/sparc/ml/ip_ocsum.s
+++ b/usr/src/uts/sparc/ml/ip_ocsum.s
@@ -28,10 +28,6 @@
#include <sys/asm_linkage.h>
-#if defined(lint)
-#include <sys/types.h>
-#endif /* lint */
-
/*
* ip_ocsum(address, halfword_count, sum)
* Do a 16 bit one's complement sum of a given number of (16-bit)
@@ -43,15 +39,6 @@
*
*/
-#if defined(lint)
-
-/* ARGSUSED */
-unsigned int
-ip_ocsum(u_short *address, int halfword_count, unsigned int sum)
-{ return (0); }
-
-#else /* lint */
-
ENTRY(ip_ocsum)
cmp %o1, 31 ! less than 62 bytes?
bl,a .dohw ! just do halfwords
@@ -124,4 +111,3 @@ ip_ocsum(u_short *address, int halfword_count, unsigned int sum)
addxcc %o2, 0, %o0 ! add in carry if any. result in %o0
SET_SIZE(ip_ocsum)
-#endif /* lint */