mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Style return statements in vn_pollrecord().
This commit is contained in:
parent
3a8540afa5
commit
7cd5a03a8e
1 changed files with 2 additions and 2 deletions
|
|
@ -3252,12 +3252,12 @@ vn_pollrecord(struct vnode *vp, struct thread *td, int events)
|
|||
vp->v_pollinfo->vpi_revents &= ~events;
|
||||
|
||||
mtx_unlock(&vp->v_pollinfo->vpi_lock);
|
||||
return events;
|
||||
return (events);
|
||||
}
|
||||
vp->v_pollinfo->vpi_events |= events;
|
||||
selrecord(td, &vp->v_pollinfo->vpi_selinfo);
|
||||
mtx_unlock(&vp->v_pollinfo->vpi_lock);
|
||||
return 0;
|
||||
return (0);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue