summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
Diffstat (limited to 'xlators')
-rw-r--r--xlators/protocol/server/src/server-protocol.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/xlators/protocol/server/src/server-protocol.c b/xlators/protocol/server/src/server-protocol.c
index 6a085f953cf..9fc9adf14c7 100644
--- a/xlators/protocol/server/src/server-protocol.c
+++ b/xlators/protocol/server/src/server-protocol.c
@@ -5444,15 +5444,9 @@ server_rchecksum (call_frame_t *frame, xlator_t *bound_xl,
state->offset = ntoh64 (req->offset);
state->size = ntoh32 (req->len);
- GF_VALIDATE_OR_GOTO(bound_xl->name, state->fd, fail);
-
resolve_and_resume (frame, server_rchecksum_resume);
return 0;
-fail:
- server_rchecksum_cbk (frame, NULL, frame->this, -1, EINVAL, 0, NULL);
-
- return 0;
}