aix vnode hold simplification
[openafs.git] / src / afs / AIX / osi_machdep.h
index eb52b26..27f1e51 100644 (file)
@@ -32,10 +32,6 @@ typedef struct proc afs_proc_t;
 #define afs_bufferpages v.v_bufhw
 
 #define osi_vnhold(avc, r) do { (avc)->vrefCount++; } while (0)
-#undef AFS_FAST_HOLD
-#define AFS_FAST_HOLD(vp) (vp)->vrefCount++
-#undef AFS_FAST_RELE
-#define AFS_FAST_RELE(vp) (vp)->vrefCount--
 
 #undef gop_lookupname
 #define        gop_lookupname(fnamep,segflg,followlink,compvpp) \
@@ -84,6 +80,4 @@ extern simple_lock_data afs_global_lock;
        mutex_init(&afs_global_lock, "afs_global_lock", MUTEX_DEFAULT, NULL)
 #endif
 
-#define ifnet_flags(x) (x?(x)->if_flags:0)
-
 #endif /* _OSI_MACHDEP_H_ */