ecryptfs: ecryptfs_dentry_info->crypt_stat is never used
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 29 Jan 2021 23:03:26 +0000 (18:03 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 20 Mar 2021 21:46:44 +0000 (17:46 -0400)
... and never had anything non-NULL stored into it.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/ecryptfs/ecryptfs_kernel.h

index 463b2d99b554e9d691d65fa9bbbfed29b06e13a7..495fb4514d0907ade552ca8b80b5512d367f1b61 100644 (file)
@@ -262,10 +262,7 @@ struct ecryptfs_inode_info {
  * vfsmount too. */
 struct ecryptfs_dentry_info {
        struct path lower_path;
-       union {
-               struct ecryptfs_crypt_stat *crypt_stat;
-               struct rcu_head rcu;
-       };
+       struct rcu_head rcu;
 };
 
 /**