summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src
diff options
context:
space:
mode:
authornik-redhat <nladha@redhat.com>2020-06-29 17:14:03 +0530
committerAmar Tumballi <amar@kadalu.io>2020-07-02 03:50:48 +0000
commit3de4627dcf18a3d9654f52fd609f1da90eee706b (patch)
treed2854e2bbdb6862b0664ebfc1186af55d4bb5ba6 /xlators/mgmt/glusterd/src
parent094e191699da9ef78b8b2906e485c9ab4c310af9 (diff)
glusterd: removing unused macro
Removed the macro 'GD_MSG_DICT_SERL_LENGTH_GET_FAIL' from the glusterd-messages file as 'GD_MSG_DICT_ALLOC_AND_SERL_LENGTH_GET_FAIL' is used in it's place Change-Id: I69d7d95b5cb8f1bdd7e616d7a3e9539e891ba378 Fixes: #874 Signed-off-by: nik-redhat <nladha@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-messages.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-messages.h b/xlators/mgmt/glusterd/src/glusterd-messages.h
index 080ea02..c089179 100644
--- a/xlators/mgmt/glusterd/src/glusterd-messages.h
+++ b/xlators/mgmt/glusterd/src/glusterd-messages.h
@@ -78,7 +78,7 @@ GLFS_MSGID(
GD_MSG_COMMIT_OP_FAIL, GD_MSG_PEER_LIST_CREATE_FAIL, GD_MSG_BRICK_OP_FAIL,
GD_MSG_OPINFO_SET_FAIL, GD_MSG_OP_EVENT_UNLOCK_FAIL,
GD_MSG_MGMTV3_OP_RESP_FAIL, GD_MSG_PEER_NOT_FOUND, GD_MSG_REQ_DECODE_FAIL,
- GD_MSG_DICT_SERL_LENGTH_GET_FAIL, GD_MSG_ALREADY_STOPPED,
+ GD_MSG_DICT_ALLOC_AND_SERL_LENGTH_GET_FAIL, GD_MSG_ALREADY_STOPPED,
GD_MSG_PRE_VALD_RESP_FAIL, GD_MSG_SVC_GET_FAIL, GD_MSG_VOLFILE_NOT_FOUND,
GD_MSG_OP_EVENT_LOCK_FAIL, GD_MSG_NON_STRIPE_VOL, GD_MSG_SNAPD_OBJ_GET_FAIL,
GD_MSG_QUOTA_DISABLED, GD_MSG_CACHE_MINMAX_SIZE_INVALID,
@@ -319,8 +319,7 @@ GLFS_MSGID(
GD_MSG_SNAPSHOT_NOT_THIN_PROVISIONED, GD_MSG_VOL_STOP_ARGS_GET_FAILED,
GD_MSG_LSTAT_FAIL, GD_MSG_VOLUME_NOT_IMPORTED,
GD_MSG_ADD_BRICK_MNT_INFO_FAIL, GD_MSG_GET_MNT_ENTRY_INFO_FAIL,
- GD_MSG_QUORUM_CLUSTER_COUNT_GET_FAIL,
- GD_MSG_DICT_ALLOC_AND_SERL_LENGTH_GET_FAIL);
+ GD_MSG_QUORUM_CLUSTER_COUNT_GET_FAIL);
#define GD_MSG_INVALID_ENTRY_STR "Invalid data entry"
#define GD_MSG_INVALID_ARGUMENT_STR \
@@ -364,8 +363,6 @@ GLFS_MSGID(
#define GD_MSG_VOLINFO_GET_FAIL_STR "Failed to get volinfo"
#define GD_MSG_PEER_NOT_FOUND_STR "Failed to find peer info"
#define GD_MSG_DICT_COPY_FAIL_STR "Failed to copy values from dictionary"
-#define GD_MSG_DICT_SERL_LENGTH_GET_FAIL_STR \
- "Failed to get serialized length of dict"
#define GD_MSG_ALLOC_AND_COPY_UUID_FAIL_STR \
"Failed to allocate memory or copy uuid"
#define GD_MSG_VOL_NOT_FOUND_STR "Volume not found"