summaryrefslogtreecommitdiffstats
path: root/drivers/extcon/extcon_class.c
diff options
context:
space:
mode:
authoryan <clouds.yan@gmail.com>2012-04-20 21:25:53 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-04-23 13:34:29 -0700
commit6b9606106ba58d2bd80610f97e06fea58206b47c (patch)
treecb6c557872521dced6b92ede4e486901b93b2d46 /drivers/extcon/extcon_class.c
parent9169c01236ab29ce55c93aaf22ec6ecc65c46d1a (diff)
downloadblackbird-op-linux-6b9606106ba58d2bd80610f97e06fea58206b47c.tar.gz
blackbird-op-linux-6b9606106ba58d2bd80610f97e06fea58206b47c.zip
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 <clouds.yan@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/extcon/extcon_class.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud