summaryrefslogtreecommitdiff
path: root/fs/nfs/nfs4idmap.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/nfs4idmap.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/nfs4idmap.c')
-rw-r--r--fs/nfs/nfs4idmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfs4idmap.c b/fs/nfs/nfs4idmap.c
index ec6afd3c4bca..e3fdd2f45b01 100644
--- a/fs/nfs/nfs4idmap.c
+++ b/fs/nfs/nfs4idmap.c
@@ -583,7 +583,7 @@ static int nfs_idmap_legacy_upcall(struct key *authkey, void *aux)
struct request_key_auth *rka = get_request_key_auth(authkey);
struct rpc_pipe_msg *msg;
struct idmap_msg *im;
- struct idmap *idmap = (struct idmap *)aux;
+ struct idmap *idmap = aux;
struct key *key = rka->target_key;
int ret = -ENOKEY;