]> git.baikalelectronics.ru Git - kernel.git/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)
commite0563ac46f89a6238a225ee2ead2832071b342ab
tree8ace66fd2d1e6f32f03b7f4f43e1821af1591a12
parent8f5b3e7c82851e37b24401c297d84f85835b27b6
[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