]> git.baikalelectronics.ru Git - kernel.git/commit
nvmet: don't check for NULL pointer before kfree in nvmet_host_release
authorChristoph Hellwig <hch@lst.de>
Mon, 18 Jul 2022 05:00:12 +0000 (07:00 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 2 Aug 2022 23:22:51 +0000 (17:22 -0600)
commite7ab30244c5b48c803d9755cfa867fdcbe8a6373
tree24a424921544a66a6602f2099a6d90968867c7f4
parent0734d52f3037084ee904d783b4e4fe45ec6e4cd8
nvmet: don't check for NULL pointer before kfree in nvmet_host_release

And add an empty line after the variable declaration.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/target/configfs.c