diff options
author | Greg Kroah-Hartman <greg@kroah.com> | 2015-03-27 11:38:06 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <greg@kroah.com> | 2015-03-30 15:01:56 +0200 |
commit | 48f70474f48f87cc2dec5ee0a2ba7139bbef3cef (patch) | |
tree | e97479bf57eddaa8cf1e0714b710eae97bbbaa06 /drivers/staging/greybus/debugfs.c | |
parent | 142f8ddf71e2e081955b4f54ba72c78dbb7b7ce8 (diff) |
greybus: debugfs: we shouldn't care if debugfs is working or not
This removes the error checking for debugfs initialization as we really
don't care if it failed or not.
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
Reviewed-by: Alex Elder <elder@linaro.org>
Diffstat (limited to 'drivers/staging/greybus/debugfs.c')
-rw-r--r-- | drivers/staging/greybus/debugfs.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/staging/greybus/debugfs.c b/drivers/staging/greybus/debugfs.c index b8865d707362..59c570964b01 100644 --- a/drivers/staging/greybus/debugfs.c +++ b/drivers/staging/greybus/debugfs.c @@ -15,13 +15,9 @@ static struct dentry *gb_debug_root; -int gb_debugfs_init(void) +void gb_debugfs_init(void) { gb_debug_root = debugfs_create_dir("greybus", NULL); - if (!gb_debug_root) - return -ENOENT; - - return 0; } void gb_debugfs_cleanup(void) |