[PATCH] cpuset one more crapectomy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Remove one more useless line from cpuset_common_file_read().

Signed-off-by: Paul Jackson <[email protected]>

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 <[email protected]> 1.650.933.1373
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux