Skip to content

Commit 8f50363

Browse files
Ming Leiaxboe
authored andcommitted
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: 8158665 ("selftests: ublk: add generic_06 for covering fault inject") Signed-off-by: Ming Lei <[email protected]> Reviewed-by: Uday Shankar <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
1 parent 5533bc7 commit 8f50363

File tree

1 file changed

+0
-3
lines changed
  • tools/testing/selftests/ublk

1 file changed

+0
-3
lines changed

tools/testing/selftests/ublk/kublk.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,6 @@ struct dev_ctx {
8686
unsigned int fg:1;
8787
unsigned int recovery:1;
8888

89-
/* fault_inject */
90-
long long delay_us;
91-
9289
int _evtfd;
9390
int _shmid;
9491

0 commit comments

Comments
 (0)