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