Explorar o código

[PATCH] cpuset cleanup

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>
Paul Jackson %!s(int64=19) %!d(string=hai) anos
pai
achega
f35f31d7ed
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      kernel/cpuset.c

+ 0 - 1
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: