diff options
author | Bart Van Assche <bart.vanassche@wdc.com> | 2018-06-22 14:52:55 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-07-02 16:44:31 -0400 |
commit | 709d56512fe8ed6d5092a1d43a4343d23df2b31c (patch) | |
tree | c3513d8a4e70e3c3e09caf24c2844f60a430f830 /drivers/target/target_core_internal.h | |
parent | 953bcf7ad16ac6ecee7d2f5593501aee5e5ae8b8 (diff) |
scsi: target: Simplify core_tmr_handle_tas_abort()
The code that can set CMD_T_TAS is executed by the same thread as the
thread that executes core_tmr_handle_tas_abort(). That means that no
locking is needed to check CMD_T_TAS from inside
core_tmr_handle_tas_abort(). This patch does not change any functionality.
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Reviewed-by: Mike Christie <mchristi@redhat.com>
Cc: Hannes Reinecke <hare@suse.com>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/target/target_core_internal.h')
0 files changed, 0 insertions, 0 deletions