Skip to content

Commit

Permalink
select: remove unused MAX_SELECT_SECONDS
Browse files Browse the repository at this point in the history
Remove the leftover from the commit 8ff3e8e ("select:
switch select() and poll() over to hrtimers").

Signed-off-by: Namhyung Kim <[email protected]>
Acked-by: Arjan van de Ven <[email protected]>
Signed-off-by: Al Viro <[email protected]>
  • Loading branch information
namhyung authored and Al Viro committed Mar 21, 2011
1 parent 27a4f7e commit 2c3d44d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions fs/compat.c
Original file line number Diff line number Diff line change
Expand Up @@ -1671,9 +1671,6 @@ int compat_set_fd_set(unsigned long nr, compat_ulong_t __user *ufdset,
* Update: ERESTARTSYS breaks at least the xview clock binary, so
* I'm trying ERESTARTNOHAND which restart only when you want to.
*/
#define MAX_SELECT_SECONDS \
((unsigned long) (MAX_SCHEDULE_TIMEOUT / HZ)-1)

int compat_core_sys_select(int n, compat_ulong_t __user *inp,
compat_ulong_t __user *outp, compat_ulong_t __user *exp,
struct timespec *end_time)
Expand Down
3 changes: 0 additions & 3 deletions fs/select.c
Original file line number Diff line number Diff line change
Expand Up @@ -517,9 +517,6 @@ int do_select(int n, fd_set_bits *fds, struct timespec *end_time)
* Update: ERESTARTSYS breaks at least the xview clock binary, so
* I'm trying ERESTARTNOHAND which restart only when you want to.
*/
#define MAX_SELECT_SECONDS \
((unsigned long) (MAX_SCHEDULE_TIMEOUT / HZ)-1)

int core_sys_select(int n, fd_set __user *inp, fd_set __user *outp,
fd_set __user *exp, struct timespec *end_time)
{
Expand Down

0 comments on commit 2c3d44d

Please sign in to comment.