if (error)
goto out_put_shost;
- if (!shost->shost_classdev.kobj.dentry)
- goto out_put_shost;
-
list_add_tail(&vport->listentry, &phba->port_list);
return vport;
struct lpfc_iocbq *iocbq_entry = NULL, *iocbq_next = NULL;
struct Scsi_Host *shost = NULL;
unsigned long bar0map_len, bar2map_len;
- int error = -ENODEV, retval;
+ int error = -ENODEV;
int i;
uint16_t iotag;