From: Paul Jackson Date: Sun, 30 Oct 2005 23:02:27 +0000 (-0800) Subject: [PATCH] cpuset cleanup X-Git-Tag: v2.6.15-rc1~59^2~15^2~89 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f35f31d7ed0150f9865619f21b5050c91b46c03f;p=platform%2Fkernel%2Flinux-stable.git [PATCH] cpuset cleanup Remove one more useless line from cpuset_common_file_read(). Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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: