From 60ee0519ca7085f005ce6e91525ca7e5a8c5cdc0 Mon Sep 17 00:00:00 2001 From: senhuang42 Date: Thu, 3 Sep 2020 20:22:34 -0400 Subject: [PATCH] Remove extraneous FIO_ctx_t functions --- programs/fileio.c | 20 -------------------- programs/fileio.h | 4 ---- 2 files changed, 24 deletions(-) diff --git a/programs/fileio.c b/programs/fileio.c index a5f7cb64..51f8af45 100644 --- a/programs/fileio.c +++ b/programs/fileio.c @@ -539,26 +539,6 @@ void FIO_setNbFilesTotal(FIO_ctx_t* const fCtx, int value) fCtx->nbFilesTotal = value; } -void FIO_setNbFilesProcessed(FIO_ctx_t* const fCtx, int value) -{ - fCtx->nbFilesProcessed = value; -} - -void FIO_setCurrFileIdx(FIO_ctx_t* const fCtx, int value) -{ - fCtx->currFileIdx = value; -} - -void FIO_setTotalBytesInput(FIO_ctx_t* const fCtx, size_t value) -{ - fCtx->totalBytesInput = value; -} - -void FIO_setTotalBytesOutput(FIO_ctx_t* const fCtx, size_t value) -{ - fCtx->totalBytesOutput = value; -} - /*-************************************* * Functions ***************************************/ diff --git a/programs/fileio.h b/programs/fileio.h index a70e4905..eeede526 100644 --- a/programs/fileio.h +++ b/programs/fileio.h @@ -106,10 +106,6 @@ void FIO_setContentSize(FIO_prefs_t* const prefs, int value); /* FIO_ctx_t functions */ void FIO_setNbFilesTotal(FIO_ctx_t* const fCtx, int value); -void FIO_setNbFilesProcessed(FIO_ctx_t* const fCtx, int value); -void FIO_setCurrFileIdx(FIO_ctx_t* const fCtx, int value); -void FIO_setTotalBytesInput(FIO_ctx_t* const fCtx, size_t value); -void FIO_setTotalBytesOutput(FIO_ctx_t* const fCtx, size_t value); /*-************************************* * Single File functions