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>
This commit is contained in:
parent
1917d42d14
commit
eb44c4e2fe
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue