diff options
| author | Dick Kennedy <dick.kennedy@broadcom.com> | 2020-05-01 14:43:07 -0700 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-05-07 22:47:24 -0400 |
| commit | 88acb4d9ff981d3ff6ea307e62a08b8739f8ebcd (patch) | |
| tree | 8cf19748bc0f8423d4a2f9bd614cefc25fc4c72f /net/lapb/lapb_out.c | |
| parent | 3048e3e805e36a61cf02f185b02b4144f46d8ff3 (diff) | |
scsi: lpfc: Remove unnecessary lockdep_assert_held calls
In an audit of lockdep calls in the driver, there are multiple lockdep
checks in successive calling layers. E.g. a routine checks, and then calls
a lower routine that also checks, and so on. Calling sequences result in
many redundant checks.
Refine the code to remove lower-level lockdep checks. Update comments on
the lock, correcting a few places where lock object in comment was
incorrect.
Link: https://lore.kernel.org/r/20200501214310.91713-7-jsmart2021@gmail.com
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions
