projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1917d42
)
fcoe: fcoe->realdev is always set
author
Hannes Reinecke
<hare@suse.de>
Mon, 4 Jul 2016 08:29:20 +0000
(10:29 +0200)
committer
Martin K. Petersen
<martin.petersen@oracle.com>
Thu, 14 Jul 2016 02:06:10 +0000
(22:06 -0400)
'->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>
drivers/scsi/fcoe/fcoe.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/scsi/fcoe/fcoe.c
b/drivers/scsi/fcoe/fcoe.c
index 9c3742d52ca4142b97ec9882e0e0cfbcf4e48a0b..41c67e5ce5b997b3a073875b65ecd7ae23daba4b 100644
(file)
--- 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;