summaryrefslogtreecommitdiffstats
path: root/kernel/cpuset.c
diff options
context:
space:
mode:
authorPaul Jackson <pj@sgi.com>2005-10-30 15:02:27 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2005-10-30 17:37:21 -0800
commitf35f31d7ed0150f9865619f21b5050c91b46c03f (patch)
treefb33df4eb302de0d249682e77d3d07bd6f6611ba /kernel/cpuset.c
parente9543659715602e3180f00a227bb6db34141ac41 (diff)
downloadlinux-f35f31d7ed0150f9865619f21b5050c91b46c03f.tar.bz2
[PATCH] cpuset cleanup
Remove one more useless line from cpuset_common_file_read(). Signed-off-by: Paul Jackson <pj@sgi.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/cpuset.c')
-rw-r--r--kernel/cpuset.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/cpuset.c b/kernel/cpuset.c
index 28176d083f7b..b9342f90d28f 100644
--- a/kernel/cpuset.c
+++ b/kernel/cpuset.c
@@ -995,7 +995,6 @@ static ssize_t cpuset_common_file_read(struct file *file, char __user *buf,
goto out;
}
*s++ = '\n';
- *s = '\0';
retval = simple_read_from_buffer(buf, nbytes, ppos, page, s - page);
out: