diff options
| author | Soumya Negi <[email protected]> | 2023-10-12 16:29:06 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-10-15 18:20:35 +0200 |
| commit | 84b52696b99edbc63a855b5a44d9e7f02e11fde5 (patch) | |
| tree | 365aa2671e073f9602f271c8258b5de500439bfb /tools/perf/scripts/python/stackcollapse.py | |
| parent | 5b91f876f9e31c106177ee9341412d64e51f5ebf (diff) | |
staging: rts5208: Remove macros scsi_lock(), scsi_unlock()
The scsi_lock() and scsi_unlock() macros protect the sm_state and the
single queue element srb for write access in the driver. As suggested,
these names are very generic. Remove the macros from header file and call
spin_lock_irq() & spin_unlock_irq() directly instead.
Suggested-by: Dan Carpenter <[email protected]>
Suggested-by: Julia Lawall <[email protected]>
Signed-off-by: Soumya Negi <[email protected]>
Link: https://lore.kernel.org/r/75a5990190cf7a5d20d1c27237b90b583e68ced8.1697152251.git.soumya.negi97@gmail.com
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions