diff options
author | Paul Jackson <pj@sgi.com> | 2005-10-30 15:02:27 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-30 17:37:21 -0800 |
commit | f35f31d7ed0150f9865619f21b5050c91b46c03f (patch) | |
tree | fb33df4eb302de0d249682e77d3d07bd6f6611ba /kernel | |
parent | e9543659715602e3180f00a227bb6db34141ac41 (diff) | |
download | op-kernel-dev-f35f31d7ed0150f9865619f21b5050c91b46c03f.zip op-kernel-dev-f35f31d7ed0150f9865619f21b5050c91b46c03f.tar.gz |
[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')
-rw-r--r-- | kernel/cpuset.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/cpuset.c b/kernel/cpuset.c index 28176d0..b9342f9 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: |