Re: [PATCH] infiniband: remove redundant condition check before debugfs_remove

From: Jason Gunthorpe
Date: Tue Sep 11 2018 - 11:39:06 EST


On Sat, Sep 08, 2018 at 09:49:31PM +0800, zhong jiang wrote:
> debugfs_remove has taken the IS_ERR_OR_NULL into account. Just
> remove the unnecessary condition.
>
> Signed-off-by: zhong jiang <zhongjiang@xxxxxxxxxx>
> ---
> drivers/infiniband/hw/usnic/usnic_debugfs.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)

Applied to for-next, thanks

Jason