[PATCH] cpuset cleanup
authorPaul Jackson <pj@sgi.com>
Sun, 30 Oct 2005 23:02:27 +0000 (15:02 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 31 Oct 2005 01:37:21 +0000 (17:37 -0800)
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>
kernel/cpuset.c

index 28176d083f7baadca422dfd510fdd7dbfd892c00..b9342f90d28faeeac5ad2137508de4c2b9b6cd35 100644 (file)
@@ -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: