s390: remove unused f_version

It's not used so don't bother with it at all.

Link: https://lore.kernel.org/r/20240830-vfs-file-f_version-v1-4-6d3e4816aa7b@kernel.org
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
This commit is contained in:
Christian Brauner 2024-08-30 15:04:45 +02:00
parent 387b499b78
commit 1c5a54af47
No known key found for this signature in database
GPG Key ID: 91C61BC06578DCA2

View File

@ -186,9 +186,6 @@ static loff_t hmcdrv_dev_seek(struct file *fp, loff_t pos, int whence)
if (pos < 0) if (pos < 0)
return -EINVAL; return -EINVAL;
if (fp->f_pos != pos)
++fp->f_version;
fp->f_pos = pos; fp->f_pos = pos;
return pos; return pos;
} }