From: James Bottomley Date: Sat, 14 Jul 2007 23:47:04 +0000 (-0500) Subject: [SCSI] lpfc: Fix NPIV compile problem X-Git-Tag: v2.6.23-rc1~1053^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a57850379e389829a2fc569733b41da3d52bf366;p=pandora-kernel.git [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 Signed-off-by: James Bottomley --- Reading git-diff-tree failed