]> 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)
commit4ce6aa87c80d7a9478bfcd25ba23067606802b3c
treee94b48c183e34a8cb8aa4ccf201d644f0f77eace
parent1cf8a2c8ffe467a5713785df2ce718e71f49fdf1
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