mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-13 10:02:38 +00:00
Eliminate the unnecessary clearing of flag bits that are already clear
in lio_listio(2).
This commit is contained in:
parent
b5513cdbda
commit
4d752b01b4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=105073
@ -1966,10 +1966,7 @@ lio_listio(struct thread *td, struct lio_listio_args *uap)
|
||||
return EINVAL;
|
||||
}
|
||||
lj->lioj_flags |= LIOJ_SIGNAL;
|
||||
lj->lioj_flags &= ~LIOJ_SIGNAL_POSTED;
|
||||
} else
|
||||
lj->lioj_flags &= ~LIOJ_SIGNAL;
|
||||
|
||||
}
|
||||
TAILQ_INSERT_TAIL(&ki->kaio_liojoblist, lj, lioj_list);
|
||||
/*
|
||||
* Get pointers to the list of I/O requests.
|
||||
|
Loading…
Reference in New Issue
Block a user