From: Christian Brauner Date: Fri, 30 Aug 2024 13:04:45 +0000 (+0200) Subject: s390: remove unused f_version X-Git-Tag: v6.12-rc1~213^2^2~16 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1c5a54af4717ff54b640986768b901aa6c294297;p=thirdparty%2Flinux.git 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 Reviewed-by: Jeff Layton Signed-off-by: Christian Brauner --- diff --git a/drivers/s390/char/hmcdrv_dev.c b/drivers/s390/char/hmcdrv_dev.c index 8d50c894711f8..e069dd6858995 100644 --- a/drivers/s390/char/hmcdrv_dev.c +++ b/drivers/s390/char/hmcdrv_dev.c @@ -186,9 +186,6 @@ static loff_t hmcdrv_dev_seek(struct file *fp, loff_t pos, int whence) if (pos < 0) return -EINVAL; - if (fp->f_pos != pos) - ++fp->f_version; - fp->f_pos = pos; return pos; }