diff options
author | Ming Lei <ming.lei@redhat.com> | 2025-04-22 07:59:42 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2025-04-23 13:58:55 -0600 |
commit | 8f503637898313c048bf21e386e09be90e30cc31 (patch) | |
tree | d8d15c2f5c9f01e9bc377295a805bb5d08e0929d /tools | |
parent | 5533bc70aedc7c9872841ac8649344f8cbc6bc4c (diff) |
selftests: ublk: remove useless 'delay_us' from 'struct dev_ctx'
'delay_us' shouldn't be added to 'struct dev_ctx' since now it is
handled by per-target command line & 'struct fault_inject_ctx'.
So remove it.
Fixes: 81586652bb1f ("selftests: ublk: add generic_06 for covering fault inject")
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Uday Shankar <ushankar@purestorage.com>
Link: https://lore.kernel.org/r/20250421235947.715272-3-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/testing/selftests/ublk/kublk.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/testing/selftests/ublk/kublk.h b/tools/testing/selftests/ublk/kublk.h index 29571eb296f1..918db5cd633f 100644 --- a/tools/testing/selftests/ublk/kublk.h +++ b/tools/testing/selftests/ublk/kublk.h @@ -86,9 +86,6 @@ struct dev_ctx { unsigned int fg:1; unsigned int recovery:1; - /* fault_inject */ - long long delay_us; - int _evtfd; int _shmid; |