summaryrefslogtreecommitdiffstats
path: root/xlators/features/changelog/lib
diff options
context:
space:
mode:
authorYaniv Kaul <ykaul@redhat.com>2019-03-20 18:10:57 +0200
committerAmar Tumballi <amarts@redhat.com>2019-04-03 04:36:33 +0000
commitcada4b432e9373c3ff8423a23c41a455aba4fc4a (patch)
tree0d20dbb46be513ace37068cf6366d4fd91fc6953 /xlators/features/changelog/lib
parente3ef34cc33772e1f05a6a3dbaad2352f6561e5f0 (diff)
changelog: remove unused code.
Seems to be unused. Change-Id: I75eed9641dd030a1fbb1b942a9d818f10a7e1437 updates: bz#1193929 Signed-off-by: Yaniv Kaul <ykaul@redhat.com>
Diffstat (limited to 'xlators/features/changelog/lib')
-rw-r--r--xlators/features/changelog/lib/src/gf-changelog-helpers.c6
-rw-r--r--xlators/features/changelog/lib/src/gf-changelog-helpers.h3
2 files changed, 0 insertions, 9 deletions
diff --git a/xlators/features/changelog/lib/src/gf-changelog-helpers.c b/xlators/features/changelog/lib/src/gf-changelog-helpers.c
index 03dac5e4729..7acc5742c25 100644
--- a/xlators/features/changelog/lib/src/gf-changelog-helpers.c
+++ b/xlators/features/changelog/lib/src/gf-changelog-helpers.c
@@ -13,12 +13,6 @@
#include "changelog-lib-messages.h"
#include <glusterfs/syscall.h>
-ssize_t
-gf_changelog_read_path(int fd, char *buffer, size_t bufsize)
-{
- return sys_read(fd, buffer, bufsize);
-}
-
size_t
gf_changelog_write(int fd, char *buffer, size_t len)
{
diff --git a/xlators/features/changelog/lib/src/gf-changelog-helpers.h b/xlators/features/changelog/lib/src/gf-changelog-helpers.h
index afa0549bdad..9c609d33172 100644
--- a/xlators/features/changelog/lib/src/gf-changelog-helpers.h
+++ b/xlators/features/changelog/lib/src/gf-changelog-helpers.h
@@ -205,9 +205,6 @@ typedef struct gf_private {
void *
gf_changelog_process(void *data);
-ssize_t
-gf_changelog_read_path(int fd, char *buffer, size_t bufsize);
-
void
gf_rfc3986_encode_space_newline(unsigned char *s, char *enc, char *estr);