diff options
| author | Daniel Wagner <[email protected]> | 2020-04-03 11:27:17 +0200 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2020-04-13 20:38:24 -0400 |
| commit | fbbef0dad79f31baca4fdc09779918c70c1b26ca (patch) | |
| tree | a8f8c0fd808425abdb53b98978797df0b80c4720 /tools/perf/scripts/python/bin | |
| parent | 4e2dec66e2ae4f3b44e0b16311391eaf2e95bb95 (diff) | |
scsi: qedf: Simplify mutex_unlock() usage
The commit 6d1368e8f987 ("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/[email protected]
Cc: Hannes Reinecke <[email protected]>
Cc: Saurav Kashyap <[email protected]>
Signed-off-by: Daniel Wagner <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions