Skip to content

Commit

Permalink
fs/eventpoll.c: fix sys_epoll_create1() comment
Browse files Browse the repository at this point in the history
The `size' argument was removed.

Reported-by:  Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Ulrich Drepper <drepper@redhat.com>
Cc: Davide Libenzi <davidel@xmailserver.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed Aug 12, 2008
1 parent 98b0da4 commit 523723b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions fs/eventpoll.c
Original file line number Diff line number Diff line change
Expand Up @@ -1041,10 +1041,7 @@ static int ep_poll(struct eventpoll *ep, struct epoll_event __user *events,
}

/*
* It opens an eventpoll file descriptor. The "size" parameter is there
* for historical reasons, when epoll was using an hash instead of an
* RB tree. With the current implementation, the "size" parameter is ignored
* (besides sanity checks).
* Open an eventpoll file descriptor.
*/
asmlinkage long sys_epoll_create1(int flags)
{
Expand Down

0 comments on commit 523723b

Please sign in to comment.