mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Remove a DIAGNOSTIC check which belongs in <sys/queue.h> if anyplace at all.
This commit is contained in:
parent
611977d021
commit
b99cfaf32c
5 changed files with 0 additions and 20 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue