infiniband: remove redundant condition check before debugfs_remove
authorzhong jiang <zhongjiang@huawei.com>
Sat, 8 Sep 2018 13:49:31 +0000 (21:49 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 11 Sep 2018 15:37:05 +0000 (09:37 -0600)
commit3e5d60bcc8a42bfd0c888a0cf52a5a7e8398677d
tree2b677afbba06543c5353dd5ae130395c33fffe8a
parenta7ee18bdee837e4703f01588993504b72074ffc6
infiniband: remove redundant condition check before debugfs_remove

debugfs_remove has taken the IS_ERR_OR_NULL into account. Just remove the
unnecessary condition.

Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/usnic/usnic_debugfs.c