Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/preichl/fio
Browse files Browse the repository at this point in the history
* 'master' of https://github.com/preichl/fio:
  engines/http: Drop unused varible
  client/server: remove dead code
  engines/rdma: remove dead code
  • Loading branch information
axboe committed Dec 15, 2023
2 parents 4e472f8 + 46a34f1 commit 5a13bb8
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions engines/http.c
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,6 @@ static enum fio_q_status fio_http_queue(struct thread_data *td,
char url[1024];
long status;
CURLcode res;
int r = -1;

fio_ro_check(td, io_u);
memset(&_curl_stream, 0, sizeof(_curl_stream));
Expand Down Expand Up @@ -712,7 +711,7 @@ static enum fio_q_status fio_http_queue(struct thread_data *td,
log_err("WARNING: Only DDIR_READ/DDIR_WRITE/DDIR_TRIM are supported!\n");

err:
io_u->error = r;
io_u->error = -1;
td_verror(td, io_u->error, "transfer");
out:
curl_slist_free_all(slist);
Expand Down
1 change: 0 additions & 1 deletion engines/rdma.c
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,6 @@ static int cq_event_handler(struct thread_data *td, enum ibv_wc_opcode opcode)
int i;

while ((ret = ibv_poll_cq(rd->cq, 1, &wc)) == 1) {
ret = 0;
compevnum++;

if (wc.status) {
Expand Down
1 change: 0 additions & 1 deletion server.c
Original file line number Diff line number Diff line change
Expand Up @@ -1883,7 +1883,6 @@ void fio_server_send_ts(struct thread_stat *ts, struct group_run_stats *rs)

offset = (char *)extended_buf_wp - (char *)extended_buf;
ptr->ts.ss_bw_data_offset = cpu_to_le64(offset);
extended_buf_wp = ss_bw + (int) ts->ss_dur;
}

fio_net_queue_cmd(FIO_NET_CMD_TS, extended_buf, extended_buf_size, NULL, SK_F_COPY);
Expand Down

0 comments on commit 5a13bb8

Please sign in to comment.