]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/block/mtip32xx: remove the null check for debugfs_remove_recursive
authorzhong jiang <zhongjiang@huawei.com>
Wed, 8 Aug 2018 14:58:33 +0000 (22:58 +0800)
committerJens Axboe <axboe@kernel.dk>
Wed, 8 Aug 2018 15:17:18 +0000 (09:17 -0600)
commitc3d7a20a78ea6e590937d63283883eab38e81578
treee94b48c183e34a8cb8aa4ccf201d644f0f77eace
parent1a7791b44296a5bde99a4d83f7d4266074f07403
drivers/block/mtip32xx: remove the null check for debugfs_remove_recursive

debugfs_remove_recursive has taken null pointer into account. So it is
safe to drop the null check before calling the function.

Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/mtip32xx/mtip32xx.c