Complete removal of DUX client code
[openafs.git] / src / afs / afs_util.c
index fb42f9e..9855008 100644 (file)
@@ -215,15 +215,11 @@ afs_CheckLocks(void)
        for (i = 0; i < VCSIZE; i++) {
            for (tvc = afs_vhashT[i]; tvc; tvc = tvc->hnext) {
                 if (tvc->f.states & CVInit) continue;
-#ifdef AFS_OSF_ENV
-               if (VREFCOUNT(tvc) > 1)
-#else /* AFS_OSF_ENV */
 #ifdef AFS_DARWIN80_ENV
                if (vnode_isinuse(AFSTOV(tvc), 0))
 #else
                if (VREFCOUNT(tvc))
 #endif
-#endif
                    afs_warn("Stat cache entry at %x is held\n", tvc);
                if (CheckLock(&tvc->lock))
                    afs_warn("Stat entry at %x is locked\n", tvc);
@@ -290,11 +286,7 @@ int
 afs_noop(void)
 {
     AFS_STATCNT(afs_noop);
-#ifdef AFS_OSF30_ENV
-    return (EOPNOTSUPP);
-#else
     return EINVAL;
-#endif
 }
 
 int