summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/qib
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2014-09-05 01:29:32 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2014-10-09 08:39:15 +0200
commit18c85d09dcd14342cd4891d016f4086095160573 (patch)
tree1e074b3c1c04686bd7fbd63fb48590d0832576ac /drivers/infiniband/hw/qib
parentgadgetfs: saner API for gadgetfs_create_file() (diff)
downloadlinux-18c85d09dcd14342cd4891d016f4086095160573.tar.xz
linux-18c85d09dcd14342cd4891d016f4086095160573.zip
[infiniband] remove pointless assignments
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/infiniband/hw/qib')
-rw-r--r--drivers/infiniband/hw/qib/qib_fs.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/qib/qib_fs.c b/drivers/infiniband/hw/qib/qib_fs.c
index cab610ccd50e..81854586c081 100644
--- a/drivers/infiniband/hw/qib/qib_fs.c
+++ b/drivers/infiniband/hw/qib/qib_fs.c
@@ -89,7 +89,6 @@ static int create_file(const char *name, umode_t mode,
{
int error;
- *dentry = NULL;
mutex_lock(&parent->d_inode->i_mutex);
*dentry = lookup_one_len(name, parent, strlen(name));
if (!IS_ERR(*dentry))