mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Clean up silly code case.
This silly code segment has existed in the sources since it was brought into FreeBSD 10 years ago. I honestly have no idea why this was done. It was possible that I thought that it might have been better to not set B_ASYNC for the "else" case, but I can't remember. Anyhow, this patch gets rid of the if/else that does the same thing either way, since it looks silly and upsets a static analyser. This will have no semantic effect on the NFS client. PR: 238167
This commit is contained in:
parent
5c59c0d4ef
commit
26fd36b29d
1 changed files with 1 additions and 4 deletions
|
|
@ -2940,10 +2940,7 @@ loop:
|
|||
}
|
||||
BO_UNLOCK(bo);
|
||||
bremfree(bp);
|
||||
if (passone || !commit)
|
||||
bp->b_flags |= B_ASYNC;
|
||||
else
|
||||
bp->b_flags |= B_ASYNC;
|
||||
bp->b_flags |= B_ASYNC;
|
||||
bwrite(bp);
|
||||
if (newnfs_sigintr(nmp, td)) {
|
||||
error = EINTR;
|
||||
|
|
|
|||
Loading…
Reference in a new issue