Print this page
de-linting of .s files

@@ -22,24 +22,18 @@
 /*
  * Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
 
-#pragma ident   "%Z%%M% %I%     %E% SMI"
-
 #include <sys/param.h>
 #include <sys/errno.h>
 #include <sys/asm_linkage.h>
 #include <sys/vtrace.h>
 #include <sys/machthread.h>
 #include <sys/machparam.h>
 
-#if defined(lint)
-#include <sys/types.h>
-#else   /* lint */
 #include "assym.h"
-#endif  /* lint */
 
 /*
  * Prefetch considerations
  * 
  * We prefetch one cacheline ahead.  This may not be enough on Serengeti

@@ -73,19 +67,10 @@
  *
  * (from @(#)ocsum.s 1.3 89/02/24 SMI)
  *
  */
 
-#if defined(lint) 
-
-/* ARGSUSED */
-unsigned int
-ip_ocsum(u_short *address, int halfword_count, unsigned int sum)
-{ return (0); }
-
-#else   /* lint */
-
         ENTRY(ip_ocsum)
 
 /*
  * On ttcp transmits, called once per ocsum_copyin but with a small
  * block ( >99.9% ).  Could be the tx hdrs?  How many acks/seg are we rxing?

@@ -459,6 +444,5 @@
         restore
 
 
         SET_SIZE(ip_ocsum_long) ! 64-bit version
 
-#endif  /* lint */