diff --git a/fs/ubifs/debug.c b/fs/ubifs/debug.c
index ba4d795..d64cd21 100644
--- a/fs/ubifs/debug.c
+++ b/fs/ubifs/debug.c
@@ -2822,7 +2822,6 @@ static ssize_t write_debugfs_file(struct file *file, const char __user *buf,
 	} else
 		return -EINVAL;
 
-	*ppos += count;
 	return count;
 }
 
