linux_dsm_epyc7002/drivers/scsi/qedf
Daniel Wagner fbbef0dad7 scsi: qedf: Simplify mutex_unlock() usage
The commit 6d1368e8f9 ("scsi: qedf: fixup locking in
qedf_restart_rport()") introduced the lock. Though the lock protects
only the fc_rport_create() call. Thus, we can move the mutex unlock up
before the if statement and drop the else body.

Link: https://lore.kernel.org/r/20200403092717.19779-1-dwagner@suse.de
Cc: Hannes Reinecke <hare@suse.com>
Cc: Saurav Kashyap <skashyap@marvell.com>
Signed-off-by: Daniel Wagner <dwagner@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2020-04-13 20:38:24 -04:00
..
drv_fcoe_fw_funcs.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 440 2019-06-05 17:37:17 +02:00
drv_fcoe_fw_funcs.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 440 2019-06-05 17:37:17 +02:00
drv_scsi_fw_funcs.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 440 2019-06-05 17:37:17 +02:00
drv_scsi_fw_funcs.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 440 2019-06-05 17:37:17 +02:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
qedf_attr.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 440 2019-06-05 17:37:17 +02:00
qedf_dbg.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 440 2019-06-05 17:37:17 +02:00
qedf_dbg.h scsi: Fix various misspellings of "connect" 2019-10-24 21:22:32 -04:00
qedf_debugfs.c scsi: qedf: Print message during bailout conditions 2019-08-29 18:44:21 -04:00
qedf_els.c scsi: qedf: Simplify mutex_unlock() usage 2020-04-13 20:38:24 -04:00
qedf_fip.c scsi: qedf: Initiator fails to re-login to switch after link down 2019-08-29 18:51:19 -04:00
qedf_hsi.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 440 2019-06-05 17:37:17 +02:00
qedf_io.c scsi: qedf: Add debug information for unsolicited processing 2019-08-29 18:51:08 -04:00
qedf_main.c scsi: qedf: Use pci_get_dsn() 2020-03-05 17:36:24 -08:00
qedf_version.h scsi: qedf: Update the version to 8.42.3.0 2019-08-29 18:51:19 -04:00
qedf.h scsi: qedf: Decrease the LL2 MTU size to 2500 2019-08-29 18:51:19 -04:00