summaryrefslogtreecommitdiffstats
path: root/xlators/features/cloudsync/src/cloudsync.h
diff options
context:
space:
mode:
authorYaniv Kaul <ykaul@redhat.com>2019-10-11 01:21:43 +0300
committerAmar Tumballi <amarts@gmail.com>2019-11-06 16:34:02 +0000
commit0ab6c178468b6cce095c54ab62cfa51162d01fcc (patch)
tree8cf13bcdda5bb373bca7d83328b3c8e8da489021 /xlators/features/cloudsync/src/cloudsync.h
parentb17a65dc2e3b4eca0ddd3caf46120f35ed4574b2 (diff)
cloudsync: remove dead code, unused variable
Minor changes - remove unused functions and unused variables. Switch dict functions to use sizen() when relevant. Change-Id: I737ce04a4beaf4df9b1eea25a90100d315627c14 updates: bz#1193929 Signed-off-by: Yaniv Kaul <ykaul@redhat.com>
Diffstat (limited to 'xlators/features/cloudsync/src/cloudsync.h')
-rw-r--r--xlators/features/cloudsync/src/cloudsync.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/features/cloudsync/src/cloudsync.h b/xlators/features/cloudsync/src/cloudsync.h
index 0cb800a87af..d24141978d6 100644
--- a/xlators/features/cloudsync/src/cloudsync.h
+++ b/xlators/features/cloudsync/src/cloudsync.h
@@ -87,7 +87,7 @@ void
__cs_inode_ctx_get(xlator_t *this, inode_t *inode, cs_inode_ctx_t **ctx);
gf_cs_obj_state
-__cs_get_file_state(xlator_t *this, inode_t *inode, cs_inode_ctx_t *ctx);
+__cs_get_file_state(inode_t *inode, cs_inode_ctx_t *ctx);
int
cs_inodelk_unlock(call_frame_t *main_frame);