From 975d7cf984de2465f7d40ff0c3a2c7605f385da4 Mon Sep 17 00:00:00 2001 From: Cornelia Huck Date: Wed, 14 Feb 2007 07:57:47 +0100 Subject: [PATCH] --- yaml --- r: 48773 b: refs/heads/master c: 873760fbf4d1c8c477a50386438303b6b89b6566 h: refs/heads/master i: 48771: 6980775e0db9c0d9f082ae9f739ee46124f4f025 v: v3 --- [refs] | 2 +- trunk/fs/debugfs/inode.c | 12 +++--------- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/[refs] b/[refs] index 600c2d402036..38540ccbb6cb 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 66f5496393dcc9f9d05c46f00ed93d5040d6035b +refs/heads/master: 873760fbf4d1c8c477a50386438303b6b89b6566 diff --git a/trunk/fs/debugfs/inode.c b/trunk/fs/debugfs/inode.c index 9c51a9f630a1..7b324cfebcb1 100644 --- a/trunk/fs/debugfs/inode.c +++ b/trunk/fs/debugfs/inode.c @@ -212,9 +212,7 @@ static int debugfs_create_by_name(const char *name, mode_t mode, * you are responsible here.) If an error occurs, %NULL will be returned. * * If debugfs is not enabled in the kernel, the value -%ENODEV will be - * returned. It is not wise to check for this value, but rather, check for - * %NULL or !%NULL instead as to eliminate the need for #ifdef in the calling - * code. + * returned. */ struct dentry *debugfs_create_file(const char *name, mode_t mode, struct dentry *parent, void *data, @@ -264,9 +262,7 @@ EXPORT_SYMBOL_GPL(debugfs_create_file); * you are responsible here.) If an error occurs, %NULL will be returned. * * If debugfs is not enabled in the kernel, the value -%ENODEV will be - * returned. It is not wise to check for this value, but rather, check for - * %NULL or !%NULL instead as to eliminate the need for #ifdef in the calling - * code. + * returned. */ struct dentry *debugfs_create_dir(const char *name, struct dentry *parent) { @@ -297,9 +293,7 @@ EXPORT_SYMBOL_GPL(debugfs_create_dir); * returned. * * If debugfs is not enabled in the kernel, the value -%ENODEV will be - * returned. It is not wise to check for this value, but rather, check for - * %NULL or !%NULL instead as to eliminate the need for #ifdef in the calling - * code. + * returned. */ struct dentry *debugfs_create_symlink(const char *name, struct dentry *parent, const char *target)