From: Paul Jackson Date: Sun, 30 Oct 2005 23:02:27 +0000 (-0800) Subject: [PATCH] cpuset cleanup X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=f35f31d7ed0150f9865619f21b5050c91b46c03f;p=openwrt%2Fstaging%2Fblogic.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 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: