summaryrefslogtreecommitdiffstats
path: root/xlators/debug/io-stats/src/io-stats.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/debug/io-stats/src/io-stats.c')
-rw-r--r--xlators/debug/io-stats/src/io-stats.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/xlators/debug/io-stats/src/io-stats.c b/xlators/debug/io-stats/src/io-stats.c
index 1d3c9b9af93..98896185b42 100644
--- a/xlators/debug/io-stats/src/io-stats.c
+++ b/xlators/debug/io-stats/src/io-stats.c
@@ -3045,7 +3045,6 @@ io_stats_setxattr (call_frame_t *frame, xlator_t *this,
loc_t *loc, dict_t *dict,
int32_t flags, dict_t *xdata)
{
- int ret = 0;
struct {
xlator_t *this;
inode_t *inode;
@@ -3056,8 +3055,8 @@ io_stats_setxattr (call_frame_t *frame, xlator_t *this,
stub.inode = loc->inode;
stub.path = loc->path;
- ret = dict_foreach_match (dict, match_special_xattr, NULL,
- conditional_dump, &stub);
+ (void) dict_foreach_match (dict, match_special_xattr, NULL,
+ conditional_dump, &stub);
START_FOP_LATENCY (frame);