summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xlators/features/upcall/src/upcall-internal.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/xlators/features/upcall/src/upcall-internal.c b/xlators/features/upcall/src/upcall-internal.c
index 0f07ae8df03..387679400cf 100644
--- a/xlators/features/upcall/src/upcall-internal.c
+++ b/xlators/features/upcall/src/upcall-internal.c
@@ -438,8 +438,6 @@ int
up_filter_unregd_xattr (dict_t *xattrs, char *xattr, data_t *v,
void *regd_xattrs)
{
- int ret = 0;
-
if (dict_get ((dict_t *)regd_xattrs, xattr) == NULL) {
/* xattr was not found in the registered xattr, hence do not
* send notification for its change