From 632ae3474921d14d458bf592354591edca0748fc Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Wed, 3 Dec 2014 19:25:13 -0700 Subject: [PATCH] Remove 'td' parameter from fill_pattern() Signed-off-by: Jens Axboe --- verify.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/verify.c b/verify.c index f05e85df..c2b3c40e 100644 --- a/verify.c +++ b/verify.c @@ -29,8 +29,8 @@ static void populate_hdr(struct thread_data *td, struct io_u *io_u, struct verify_header *hdr, unsigned int header_num, unsigned int header_len); -static void fill_pattern(struct thread_data *td, void *p, unsigned int len, - char *pattern, unsigned int pattern_bytes) +static void fill_pattern(void *p, unsigned int len, char *pattern, + unsigned int pattern_bytes) { switch (pattern_bytes) { case 0: @@ -61,7 +61,7 @@ static void fill_pattern(struct thread_data *td, void *p, unsigned int len, void fill_buffer_pattern(struct thread_data *td, void *p, unsigned int len) { - fill_pattern(td, p, len, td->o.buffer_pattern, td->o.buffer_pattern_bytes); + fill_pattern(p, len, td->o.buffer_pattern, td->o.buffer_pattern_bytes); } void fill_verify_pattern(struct thread_data *td, void *p, unsigned int len, @@ -83,7 +83,7 @@ void fill_verify_pattern(struct thread_data *td, void *p, unsigned int len, return; } - fill_pattern(td, p, len, td->o.verify_pattern, td->o.verify_pattern_bytes); + fill_pattern(p, len, td->o.verify_pattern, td->o.verify_pattern_bytes); io_u->buf_filled_len = len; } -- 2.25.1