search for: destroy_cache

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

2020 Jul 10
0
[PATCH] scsi: virtio_scsi: Remove unnecessary condition checks
...f82040ee66db13525dc6f14b8559890b2f4c1c#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