aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2017-01-05 15:01:30 -0500
committerTheodore Ts'o <tytso@mit.edu>2017-01-08 01:00:53 -0500
commitf099d616dd689d27b08dec95d0b6f1f302cf8ec4 (patch)
treefe8437f129470962b8cb341377ec8c201b7acf6a
parent173b8439e1ba362007315868928bf9d26e5cc5a6 (diff)
fscrypt: remove unused 'mode' member of fscrypt_ctx
Nothing reads or writes fscrypt_ctx.mode, and it doesn't belong there because a fscrypt_ctx is not tied to a specific encryption mode. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
-rw-r--r--include/linux/fscrypto.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/fscrypto.h b/include/linux/fscrypto.h
index 2a2815702095..8635ea46ef6e 100644
--- a/include/linux/fscrypto.h
+++ b/include/linux/fscrypto.h
@@ -35,7 +35,6 @@ struct fscrypt_ctx {
35 struct list_head free_list; /* Free list */ 35 struct list_head free_list; /* Free list */
36 }; 36 };
37 u8 flags; /* Flags */ 37 u8 flags; /* Flags */
38 u8 mode; /* Encryption mode for tfm */
39}; 38};
40 39
41/** 40/**