Remove a DIAGNOSTIC check which belongs in <sys/queue.h> if anyplace at all.

This commit is contained in:
phk 2001-02-04 11:53:51 +00:00
parent 578f22b89e
commit 236808f33a
5 changed files with 0 additions and 20 deletions

View File

@ -174,10 +174,6 @@ hpfs_hphashrem(hp)
if (hp->h_flag & H_HASHED) {
hp->h_flag &= ~H_HASHED;
LIST_REMOVE(hp, h_hash);
#ifdef DIAGNOSTIC
hp->h_hash.le_next = NULL;
hp->h_hash.le_prev = NULL;
#endif
}
mtx_exit(&hpfs_hphash_mtx, MTX_DEF);
}

View File

@ -129,10 +129,6 @@ ntfs_nthashrem(ip)
if (ip->i_flag & IN_HASHED) {
ip->i_flag &= ~IN_HASHED;
LIST_REMOVE(ip, i_hash);
#ifdef DIAGNOSTIC
ip->i_hash.le_next = NULL;
ip->i_hash.le_prev = NULL;
#endif
}
mtx_exit(&ntfs_nthash_mtx, MTX_DEF);
}

View File

@ -148,10 +148,6 @@ ufs_ihashrem(ip)
if (ip->i_flag & IN_HASHED) {
ip->i_flag &= ~IN_HASHED;
LIST_REMOVE(ip, i_hash);
#ifdef DIAGNOSTIC
ip->i_hash.le_next = NULL;
ip->i_hash.le_prev = NULL;
#endif
}
mtx_exit(&ufs_ihash_mtx, MTX_DEF);
}

View File

@ -129,10 +129,6 @@ ntfs_nthashrem(ip)
if (ip->i_flag & IN_HASHED) {
ip->i_flag &= ~IN_HASHED;
LIST_REMOVE(ip, i_hash);
#ifdef DIAGNOSTIC
ip->i_hash.le_next = NULL;
ip->i_hash.le_prev = NULL;
#endif
}
mtx_exit(&ntfs_nthash_mtx, MTX_DEF);
}

View File

@ -148,10 +148,6 @@ ufs_ihashrem(ip)
if (ip->i_flag & IN_HASHED) {
ip->i_flag &= ~IN_HASHED;
LIST_REMOVE(ip, i_hash);
#ifdef DIAGNOSTIC
ip->i_hash.le_next = NULL;
ip->i_hash.le_prev = NULL;
#endif
}
mtx_exit(&ufs_ihash_mtx, MTX_DEF);
}