From de52876407040a8cae9656ede9f66084d4cb45ac Mon Sep 17 00:00:00 2001 From: Sven Fischer Date: Sat, 17 Mar 2018 23:30:38 +0100 Subject: cleanup: xlator_t structure's 'client_latency' variable is not used - Removed unused struct member and its one time usage. - cleaned up wrong white space member 'client_latency' was not used otherwise since it was added by commit 07cc8679cdf3b29680f4f105d0222da168d8bfc1 Author: Kevin Vigor Date: Tue Mar 21 08:23:25 2017 -0700 Halo Replication feature for AFR translator Change-Id: Ibb0ea828d4090bbe8897f6af326b317884162a00 BUG: 1495153 Signed-off-by: Sven Fischer --- libglusterfs/src/xlator.h | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'libglusterfs') diff --git a/libglusterfs/src/xlator.h b/libglusterfs/src/xlator.h index b03998d36af..be6cf60e8c7 100644 --- a/libglusterfs/src/xlator.h +++ b/libglusterfs/src/xlator.h @@ -978,18 +978,17 @@ struct _xlator { struct xlator_dumpops *dumpops; struct list_head volume_options; /* list of volume_option_t */ - void (*fini) (xlator_t *this); - int32_t (*init) (xlator_t *this); - int32_t (*reconfigure) (xlator_t *this, dict_t *options); - int32_t (*mem_acct_init) (xlator_t *this); - int32_t (*dump_metrics) (xlator_t *this, int fd); + void (*fini)(xlator_t *this); + int32_t (*init)(xlator_t *this); + int32_t (*reconfigure)(xlator_t *this, dict_t *options); + int32_t (*mem_acct_init)(xlator_t *this); + int32_t (*dump_metrics)(xlator_t *this, int fd); - event_notify_fn_t notify; + event_notify_fn_t notify; - gf_loglevel_t loglevel; /* Log level for translator */ + gf_loglevel_t loglevel; /* Log level for translator */ struct { - int64_t client_latency; /* This is in 'milliseconds' units */ struct { /* for latency measurement */ fop_metrics_t metrics[GF_FOP_MAXVALUE]; -- cgit