summaryrefslogtreecommitdiff
path: root/fs/nfs/nfs42xattr.c
diff options
context:
space:
mode:
authoryuzhe <yuzhe@nfschina.com>2022-06-15 08:39:24 +0300
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2022-10-03 18:26:36 +0300
commit7e7ce2ccbae746a88e21b4ce94dbf372b31c152c (patch)
tree8f045a3bcda9a9afdf96e3eb87ece0d46ac4bf67 /fs/nfs/nfs42xattr.c
parentd6abc719a213b8c409789799786e11d203adb3b0 (diff)
downloadlinux-7e7ce2ccbae746a88e21b4ce94dbf372b31c152c.tar.xz
nfs: remove unnecessary (void*) conversions.
remove unnecessary void* type castings. Signed-off-by: yuzhe <yuzhe@nfschina.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs/nfs42xattr.c')
-rw-r--r--fs/nfs/nfs42xattr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfs42xattr.c b/fs/nfs/nfs42xattr.c
index a9bf09fdf2c3..76ae11834206 100644
--- a/fs/nfs/nfs42xattr.c
+++ b/fs/nfs/nfs42xattr.c
@@ -981,7 +981,7 @@ nfs4_xattr_entry_count(struct shrinker *shrink, struct shrink_control *sc)
static void nfs4_xattr_cache_init_once(void *p)
{
- struct nfs4_xattr_cache *cache = (struct nfs4_xattr_cache *)p;
+ struct nfs4_xattr_cache *cache = p;
spin_lock_init(&cache->listxattr_lock);
atomic_long_set(&cache->nent, 0);