diff options
author | Christoph Hellwig <hch@infradead.org> | 2011-10-17 13:56:47 -0400 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2011-10-24 03:21:42 +0000 |
commit | e99d48a62bfc6e64548e0d5085240c5024eca471 (patch) | |
tree | bf17954cdd6b995a7b2c1ac48fbc38fc2e6c3d6e /include/target | |
parent | cdbb70bb4c17dad0ee23a357030021892a0f60f0 (diff) | |
download | linux-e99d48a62bfc6e64548e0d5085240c5024eca471.tar.gz linux-e99d48a62bfc6e64548e0d5085240c5024eca471.tar.bz2 linux-e99d48a62bfc6e64548e0d5085240c5024eca471.zip |
target: remove TF_TIMER_STOP
TF_TIMER_STOP is useless as it only helps to mitigate a tiny race during
deleting the timer. But given that we have cleared TF_ACTIVE at this point
we already have another mitigation a few lines down the function.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'include/target')
-rw-r--r-- | include/target/target_core_base.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/target/target_core_base.h b/include/target/target_core_base.h index 77b3de846340..8f02a65de75f 100644 --- a/include/target/target_core_base.h +++ b/include/target/target_core_base.h @@ -78,7 +78,6 @@ enum se_task_flags { TF_TIMEOUT = (1 << 2), TF_REQUEST_STOP = (1 << 3), TF_TIMER_RUNNING = (1 << 4), - TF_TIMER_STOP = (1 << 5), }; /* Special transport agnostic struct se_cmd->t_states */ |