Tag: 9be321819c43417432a8376428b90fe3fe3a3510

lpfc: Delete unnecessary checks before the function call “mempool_destroy”

Author: Markus Elfring <elfring@users.sourceforge.net> The mempool_destroy() function tests whether its argument is NULL and then returns immediately. Thus the test around the calls is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Signed-off-by: James Smart Reviewed-by: Hannes Reinicke Reviewed-by: Sebastian Herbszt Signed-off-by: Martin K. Petersen — drivers/scsi/lpfc/lpfc_mem.c | 6 …

Continue reading