Commit eb44c4e2 authored by Hannes Reinecke's avatar Hannes Reinecke Committed by Martin K. Petersen

fcoe: fcoe->realdev is always set

'->realdev' is always set, so this check is pointless.
Signed-off-by: default avatarHannes Reinecke <>
Acked-by: default avatarJohannes Thumshirn <>
Signed-off-by: default avatarMartin K. Petersen <>
parent 1917d42d
......@@ -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)
/* No FDMI state m/c for NPIV ports */
if (lport->vport)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment