]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
s390/dasd: remove unnecessary condition check
authorChengguang Xu <cgxu519@gmx.com>
Mon, 27 Aug 2018 23:51:30 +0000 (07:51 +0800)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 20 Sep 2018 11:20:27 +0000 (13:20 +0200)
commit734781a9165a1d2fe6117a6435dd3f7619dd9794
tree3fe94710fc4d74f69058d491495982d221822c42
parent55a5542a546238354d1f209f794414168cf8c71d
s390/dasd: remove unnecessary condition check

kmem_cache_destroy() can handle NULL pointer correctly, so there is
no need to check NULL pointer before calling kmem_cache_destroy().

Signed-off-by: Chengguang Xu <cgxu519@gmx.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/block/dasd.c