Style return statements in vn_pollrecord().

This commit is contained in:
Konstantin Belousov 2008-10-28 12:22:33 +00:00
parent 3a8540afa5
commit 7cd5a03a8e

View file

@ -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);
}
/*