diff options
| author | Soumya Negi <soumya.negi97@gmail.com> | 2023-10-12 16:29:06 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-10-15 18:20:35 +0200 |
| commit | 84b52696b99edbc63a855b5a44d9e7f02e11fde5 (patch) | |
| tree | 365aa2671e073f9602f271c8258b5de500439bfb /tools/perf/scripts/python/bin | |
| parent | staging: rts5208: Refactor macros to static inline functions (diff) | |
| download | linux-84b52696b99edbc63a855b5a44d9e7f02e11fde5.tar.gz linux-84b52696b99edbc63a855b5a44d9e7f02e11fde5.zip | |
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 <dan.carpenter@linaro.org>
Suggested-by: Julia Lawall <julia.lawall@inria.fr>
Signed-off-by: Soumya Negi <soumya.negi97@gmail.com>
Link: https://lore.kernel.org/r/75a5990190cf7a5d20d1c27237b90b583e68ced8.1697152251.git.soumya.negi97@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
