Skip to content
Commit 6b960610 authored by yan's avatar yan Committed by Greg Kroah-Hartman
Browse files

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: default avatarYan Hong <clouds.yan@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9169c012
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment