[PATCH] cpuset cleanup
Paul Jackson [Sun, 30 Oct 2005 23:02:27 +0000 (15:02 -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 28176d0..b9342f9 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: