From 0ab6c178468b6cce095c54ab62cfa51162d01fcc Mon Sep 17 00:00:00 2001 From: Yaniv Kaul Date: Fri, 11 Oct 2019 01:21:43 +0300 Subject: 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 --- xlators/features/cloudsync/src/cloudsync.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators/features/cloudsync/src/cloudsync.h') 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); -- cgit