summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/fcoe/fcoe.c
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2016-07-04 10:29:20 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2016-07-13 22:06:10 -0400
commiteb44c4e2fea0dacad615d42488bfd0a9053c9e9f (patch)
tree1c546f4f9cc4b0d91ba5578e50abd9ff9d5d9dc8 /drivers/scsi/fcoe/fcoe.c
parent1917d42d14b744e7298872138dd281376a83a3fe (diff)
downloadlinux-eb44c4e2fea0dacad615d42488bfd0a9053c9e9f.tar.bz2
fcoe: fcoe->realdev is always set
'->realdev' is always set, so this check is pointless. Signed-off-by: Hannes Reinecke <hare@suse.com> Acked-by: Johannes Thumshirn <jth@kernel.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/fcoe/fcoe.c')
-rw-r--r--drivers/scsi/fcoe/fcoe.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/scsi/fcoe/fcoe.c b/drivers/scsi/fcoe/fcoe.c
index 9c3742d52ca4..41c67e5ce5b9 100644
--- a/drivers/scsi/fcoe/fcoe.c
+++ b/drivers/scsi/fcoe/fcoe.c
@@ -770,9 +770,6 @@ static void fcoe_fdmi_info(struct fc_lport *lport, struct net_device *netdev)
fcoe = port->priv;
realdev = fcoe->realdev;
- if (!realdev)
- return;
-
/* No FDMI state m/c for NPIV ports */
if (lport->vport)
return;