From: Paul Jackson Date: Sun, 30 Oct 2005 23:02:27 +0000 (-0800) Subject: [PATCH] cpuset cleanup X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f35f31d7ed0150f9865619f21b5050c91b46c03f;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.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 28176d083f7..b9342f90d28 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: