summaryrefslogtreecommitdiffstats
path: root/xlators/features/cloudsync/src/cloudsync-fops-c.py
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-fops-c.py
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-fops-c.py')
-rwxr-xr-xxlators/features/cloudsync/src/cloudsync-fops-c.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/features/cloudsync/src/cloudsync-fops-c.py b/xlators/features/cloudsync/src/cloudsync-fops-c.py
index c444ea621a8..c27df97ae58 100755
--- a/xlators/features/cloudsync/src/cloudsync-fops-c.py
+++ b/xlators/features/cloudsync/src/cloudsync-fops-c.py
@@ -35,7 +35,7 @@ cs_@NAME@ (call_frame_t *frame, xlator_t *this,
__cs_inode_ctx_get (this, fd->inode, &ctx);
if (ctx)
- state = __cs_get_file_state (this, fd->inode, ctx);
+ state = __cs_get_file_state (fd->inode, ctx);
else
state = GF_CS_LOCAL;