[PATCH] cpuset cleanup
authorPaul Jackson <[email protected]>
Sun, 30 Oct 2005 23:02:27 +0000 (15:02 -0800)
committerLinus Torvalds <[email protected]>
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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
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: