mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
remove bogus comment, select/poll do NOT need to fhold as they hold the
filedesc lock. style(9) fixes, add blank line at start of functions with no local variables.
This commit is contained in:
parent
291ebad893
commit
4ff964978c
1 changed files with 4 additions and 1 deletions
|
|
@ -183,6 +183,7 @@ fo_write(fp, uio, cred, flags, td)
|
|||
struct thread *td;
|
||||
int flags;
|
||||
{
|
||||
|
||||
return ((*fp->f_ops->fo_write)(fp, uio, cred, flags, td));
|
||||
}
|
||||
|
||||
|
|
@ -193,6 +194,7 @@ fo_ioctl(fp, com, data, td)
|
|||
caddr_t data;
|
||||
struct thread *td;
|
||||
{
|
||||
|
||||
return ((*fp->f_ops->fo_ioctl)(fp, com, data, td));
|
||||
}
|
||||
|
||||
|
|
@ -203,7 +205,7 @@ fo_poll(fp, events, cred, td)
|
|||
struct ucred *cred;
|
||||
struct thread *td;
|
||||
{
|
||||
/* select(2) and poll(2) hold file descriptors. */
|
||||
|
||||
return ((*fp->f_ops->fo_poll)(fp, events, cred, td));
|
||||
}
|
||||
|
||||
|
|
@ -213,6 +215,7 @@ fo_stat(fp, sb, td)
|
|||
struct stat *sb;
|
||||
struct thread *td;
|
||||
{
|
||||
|
||||
return ((*fp->f_ops->fo_stat)(fp, sb, td));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue