get rid of UCBIPC stuff
[unix-history] / usr / src / sys / kern / kern_synch.c
index b7c6516..d983425 100644 (file)
@@ -1,4 +1,4 @@
-/*     kern_synch.c    4.8     %G%     */
+/*     kern_synch.c    4.9     %G%     */
 
 #include "../h/param.h"
 #include "../h/systm.h"
 
 #include "../h/param.h"
 #include "../h/systm.h"
@@ -351,17 +351,9 @@ retry:
 
        for(n=0; n<NOFILE; n++)
                if(u.u_ofile[n] != NULL) {
 
        for(n=0; n<NOFILE; n++)
                if(u.u_ofile[n] != NULL) {
-#ifdef UCBIPC
-                       if (u.u_pofile[n] & ISPORT)
-                               u.u_oport[n]->pt_count++;
-                       else {
-#endif
-                               u.u_ofile[n]->f_count++;
-                               if(!isvfork && u.u_vrpages[n])
-                                       u.u_ofile[n]->f_inode->i_vfdcnt++;
-#ifdef UCBIPC
-                       }
-#endif UCBIPC
+                       u.u_ofile[n]->f_count++;
+                       if(!isvfork && u.u_vrpages[n])
+                               u.u_ofile[n]->f_inode->i_vfdcnt++;
                }
 
        u.u_cdir->i_count++;
                }
 
        u.u_cdir->i_count++;