summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2017-01-05 12:01:30 -0800
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 {
struct list_head free_list; /* Free list */
};
u8 flags; /* Flags */
- u8 mode; /* Encryption mode for tfm */
};
/**