From: yan Date: Fri, 20 Apr 2012 13:25:53 +0000 (+0800) Subject: lib/kobject.c : Remove redundant check in create_dir X-Git-Tag: v3.5-rc1~147^2~70 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b9606106ba58d2bd80610f97e06fea58206b47c;p=pandora-kernel.git lib/kobject.c : Remove redundant check in create_dir create_dir is a static function used only in kobject_add_internal. There's no need to do check here, for kobject_add_internal will reject kobject with invalid name. Signed-off-by: Yan Hong Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed