/* sysfs_mbox_idle - frees the sysfs mailbox @phba: lpfc_hba pointer  */
static void sysfs_mbox_idle(struct lpfc_hba *phba)
/* sysfs_mbox_idle - frees the sysfs mailbox @phba: lpfc_hba pointer  */
static void sysfs_mbox_idle(struct lpfc_hba *phba)
{
	phba->sysfs_mbox.state = SMBOX_IDLE;
	phba->sysfs_mbox.offset = 0;
	if (phba->sysfs_mbox.mbox) {
		mempool_free(phba->sysfs_mbox.mbox,
			     phba->mbox_mem_pool);
		phba->sysfs_mbox.mbox = NULL;
	}
}