diff options
author | Paul Jackson <pj@sgi.com> | 2005-10-31 00:02:27 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-31 02:37:21 +0100 |
commit | f35f31d7ed0150f9865619f21b5050c91b46c03f (patch) | |
tree | fb33df4eb302de0d249682e77d3d07bd6f6611ba /kernel/cpuset.c | |
parent | [PATCH] proc: fix of error path in proc_get_inode() (diff) | |
download | linux-f35f31d7ed0150f9865619f21b5050c91b46c03f.tar.xz linux-f35f31d7ed0150f9865619f21b5050c91b46c03f.zip |
[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.c | 1 |
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: |