mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] cpuset one more crapectomy
@ 2005-10-02  1:46 Paul Jackson
  0 siblings, 0 replies; only message in thread
From: Paul Jackson @ 2005-10-02  1:46 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Linus Torvalds, Al Viro, Simon Derr, Paul Jackson, linux-kernel

Remove one more useless line from cpuset_common_file_read().

Signed-off-by: Paul Jackson <pj@sgi.com>

Index: 2.6.14-rc2-mm2/kernel/cpuset.c
===================================================================
--- 2.6.14-rc2-mm2.orig/kernel/cpuset.c
+++ 2.6.14-rc2-mm2/kernel/cpuset.c
@@ -995,7 +995,6 @@ static ssize_t cpuset_common_file_read(s
 		goto out;
 	}
 	*s++ = '\n';
-	*s = '\0';
 
 	retval = simple_read_from_buffer(buf, nbytes, ppos, page, s - page);
 out:

-- 
                          I won't rest till it's the best ...
                          Programmer, Linux Scalability
                          Paul Jackson <pj@sgi.com> 1.650.933.1373

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-10-02  1:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-02  1:46 [PATCH] cpuset one more crapectomy Paul Jackson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome