summaryrefslogtreecommitdiffstats
path: root/xlators/debug/io-stats
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/debug/io-stats')
-rw-r--r--xlators/debug/io-stats/src/io-stats.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/xlators/debug/io-stats/src/io-stats.c b/xlators/debug/io-stats/src/io-stats.c
index ae01e455726..3866ff4604e 100644
--- a/xlators/debug/io-stats/src/io-stats.c
+++ b/xlators/debug/io-stats/src/io-stats.c
@@ -415,11 +415,9 @@ io_stats_readv_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
struct iovec *vector, int32_t count,
struct iatt *buf, struct iobref *iobref)
{
- struct ios_conf *conf = NULL;
int len = 0;
fd_t *fd = NULL;
- conf = this->private;
fd = frame->local;
frame->local = NULL;
@@ -1055,10 +1053,8 @@ io_stats_writev (call_frame_t *frame, xlator_t *this,
int32_t count, off_t offset,
struct iobref *iobref)
{
- struct ios_conf *conf = NULL;
int len = 0;
- conf = this->private;
len = iov_length (vector, count);