Commit 2c3d44dc4a1262168ef31bef22b3aa554c0572d8

Authored by Namhyung Kim
Committed by Al Viro
1 parent 27a4f7e61e

select: remove unused MAX_SELECT_SECONDS

Remove the leftover from the commit 8ff3e8e85fa6 ("select:
switch select() and poll() over to hrtimers").

Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Acked-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

Showing 2 changed files with 0 additions and 6 deletions Side-by-side Diff

... ... @@ -1671,9 +1671,6 @@
1671 1671 * Update: ERESTARTSYS breaks at least the xview clock binary, so
1672 1672 * I'm trying ERESTARTNOHAND which restart only when you want to.
1673 1673 */
1674   -#define MAX_SELECT_SECONDS \
1675   - ((unsigned long) (MAX_SCHEDULE_TIMEOUT / HZ)-1)
1676   -
1677 1674 int compat_core_sys_select(int n, compat_ulong_t __user *inp,
1678 1675 compat_ulong_t __user *outp, compat_ulong_t __user *exp,
1679 1676 struct timespec *end_time)
... ... @@ -517,9 +517,6 @@
517 517 * Update: ERESTARTSYS breaks at least the xview clock binary, so
518 518 * I'm trying ERESTARTNOHAND which restart only when you want to.
519 519 */
520   -#define MAX_SELECT_SECONDS \
521   - ((unsigned long) (MAX_SCHEDULE_TIMEOUT / HZ)-1)
522   -
523 520 int core_sys_select(int n, fd_set __user *inp, fd_set __user *outp,
524 521 fd_set __user *exp, struct timespec *end_time)
525 522 {