search for: destroy_pool

Displaying 1 result from an estimated 1 matches for "destroy_pool".

Did you mean: _destroy_pool
2020 Jul 10
0
[PATCH] scsi: virtio_scsi: Remove unnecessary condition checks
...pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/coding-style.rst?id=42f82040ee66db13525dc6f14b8559890b2f4c1c#n461 > > >> executing a couple more instruction is not an issue. > > With which update steps would like to achieve such a code variant? > > destroy_pool: > mempool_destroy(virtscsi_cmd_pool); > virtscsi_cmd_pool = NULL; > destroy_cache: > kmem_cache_destroy(virtscsi_cmd_cache); > virtscsi_cmd_cache = NULL; > return ret; ... while there's no advantage in this. Paolo