1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-19 02:29:40 +00:00

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

This commit is contained in:
Poul-Henning Kamp 2001-02-04 11:53:51 +00:00
parent 611977d021
commit b99cfaf32c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=71993
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);
}