summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorGilad Broner <gbroner@codeaurora.org>2014-10-30 17:28:55 +0200
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:01:55 -0700
commit2e5c505a5059f42b081bf6b6d22377c1eb2ab963 (patch)
tree5ab69d6494b4631c0170729bcfe8d938e7bd884d /include/linux
parente355904bbf968211ddc00a1e3d5aa2ccabff3365 (diff)
block: test-iosched: remove test timeout timer
When running a test, a timer was set to detect test timeout and to unblock the wait_event() function which is waiting for the test to finish. This is redundant as wait_event timeout variant gives the same functionality without the overhead of managing a timer for this purpose and improve code readability. Change-Id: Icbd3cb0f3fcb5854673f4506b102b0c80e97d6bb Signed-off-by: Gilad Broner <gbroner@codeaurora.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/test-iosched.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/test-iosched.h b/include/linux/test-iosched.h
index 691f7df176f6..717a3ad760e7 100644
--- a/include/linux/test-iosched.h
+++ b/include/linux/test-iosched.h
@@ -191,8 +191,6 @@ struct blk_dev_test_type {
* new BIOs.
* @start_sector: The address of the first sector that can
* be accessed by the test
- * @timeout_timer: A timer to verify test completion in
- * case of non-completed requests
* @wr_rd_next_req_id: A unique ID to identify WRITE/READ
* request to ease the debugging of the
* test cases
@@ -225,7 +223,6 @@ struct test_data {
struct request_queue *req_q;
int num_of_write_bios;
u32 start_sector;
- struct timer_list timeout_timer;
int wr_rd_next_req_id;
int unique_next_req_id;
spinlock_t lock;