]> err.no Git - linux-2.6/commit
[SCSI] lpfc: Fix NPIV compile problem
authorJames Bottomley <jejb@mulgrave.localdomain>
Sat, 14 Jul 2007 23:47:04 +0000 (18:47 -0500)
committerJames Bottomley <jejb@mulgrave.localdomain>
Sat, 14 Jul 2007 23:47:04 +0000 (18:47 -0500)
commita57850379e389829a2fc569733b41da3d52bf366
tree8ace66fd2d1e6f32f03b7f4f43e1821af1591a12
parentc59fd9ebc46da8d48b76955d4d48e3597f8c8726
[SCSI] lpfc: Fix NPIV compile problem

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: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/lpfc/lpfc_init.c