diff options
author | Sasha Levin <sasha.levin@oracle.com> | 2012-12-20 14:11:22 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-17 13:02:08 -0800 |
commit | 1884bd4b1461d16d10ab4ab4d19725b4e0717f7a (patch) | |
tree | 41b733040b563fafe8119a032d92c288ec6b8428 /fs/debugfs | |
parent | 2202d4e81bade6a10a58897d2bb24a5db5950a1c (diff) | |
download | linux-3.10-1884bd4b1461d16d10ab4ab4d19725b4e0717f7a.tar.gz linux-3.10-1884bd4b1461d16d10ab4ab4d19725b4e0717f7a.tar.bz2 linux-3.10-1884bd4b1461d16d10ab4ab4d19725b4e0717f7a.zip |
debugfs: remove redundant initialization of dentry
We already initialize it to NULL when declaring it, no need to do
that twice.
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/debugfs')
-rw-r--r-- | fs/debugfs/inode.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/debugfs/inode.c b/fs/debugfs/inode.c index 153bb1e42e6..d329f9c5575 100644 --- a/fs/debugfs/inode.c +++ b/fs/debugfs/inode.c @@ -322,7 +322,6 @@ static struct dentry *__create_file(const char *name, umode_t mode, if (!parent) parent = debugfs_mount->mnt_root; - dentry = NULL; mutex_lock(&parent->d_inode->i_mutex); dentry = lookup_one_len(name, parent, strlen(name)); if (!IS_ERR(dentry)) { |