OSDN Git Service

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)
commitd5fcc4e46e5168e6a6ce1e350ad0714a9d880c8e
treee94b48c183e34a8cb8aa4ccf201d644f0f77eace
parentf7ecb1b109da1006a08d5675debe60990e824432
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