summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/sysctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sunrpc/sysctl.c')
-rw-r--r--net/sunrpc/sysctl.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/net/sunrpc/sysctl.c b/net/sunrpc/sysctl.c
index 6535e0f0a..6219c3720 100644
--- a/net/sunrpc/sysctl.c
+++ b/net/sunrpc/sysctl.c
@@ -76,13 +76,8 @@ proc_dodebug(ctl_table *table, int write, struct file *file,
if (!access_ok(VERIFY_READ, buffer, left))
return -EFAULT;
p = (char *) buffer;
-#if LINUX_VERSION_CODE >= 0x020100
while (left && __get_user(c, p) >= 0 && isspace(c))
left--, p++;
-#else
- while (left && (c = get_fs_byte(p)) >= 0 && isspace(c))
- left--, p++;
-#endif
if (!left)
goto done;