From: Dan Carpenter Date: Thu, 18 Nov 2010 20:27:32 +0000 (-0800) Subject: Documentation: make configfs example code simpler, clearer X-Git-Tag: v2.6.37-rc3~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09c9feb94672bdb3ca6d424a292ffc26eff8ca0b;p=pandora-kernel.git Documentation: make configfs example code simpler, clearer If "p" is NULL then it will cause an oops when we pass it to simple_strtoul(). In this case "p" can not be NULL so I removed the check. I also changed the check a little to make it more explicit that we are testing whether p points to the NUL char. Signed-off-by: Dan Carpenter Acked-by: Joel Becker Signed-off-by: Randy Dunlap Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed