• James Bottomley's avatar
    [SCSI] lpfc: Fix NPIV compile problem · a5785037
    James Bottomley authored
    drivers/scsi/lpfc/lpfc_init.c: In function 'lpfc_create_port':
    drivers/scsi/lpfc/lpfc_init.c:1573: error: 'struct kobject' has no member named 'dentry'
    
    Just remove the if check on this ... lpfc shouldn't be poking around
    in kobject structures.
    
    drivers/scsi/lpfc/lpfc_init.c: In function 'lpfc_pci_probe_one':
    drivers/scsi/lpfc/lpfc_init.c:1723: warning: unused variable 'retval'
    
    And remove the unused variable.
    
    Cc: James Smart <James.Smart@Emulex.Com>
    Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
    a5785037
lpfc_init.c 64.6 KB