Skip to contentSkip to conversation

cpuset one more crapectomy

PATCH New Paul Jackson 1 participant 1 message Oct 2, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cpuset one more crapectomy

Remove one more useless line from cpuset_common_file_read().

kernel/cpuset.c +0 -1
Index: 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:
Signature · 3 lines
                          I won't rest till it's the best ...
                          Programmer, Linux Scalability
                          Paul Jackson <[email protected]> 1.650.933.1373