]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
fscrypt: remove unused 'mode' member of fscrypt_ctx
authorEric Biggers <ebiggers@google.com>
Thu, 5 Jan 2017 20:01:30 +0000 (12:01 -0800)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 8 Jan 2017 06:00:53 +0000 (01:00 -0500)
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>
include/linux/fscrypto.h

index 2a281570209551c0a2ff8f45f1a79323e1e165ac..8635ea46ef6e7a2232c880257304a5b5d0d1faab 100644 (file)
@@ -35,7 +35,6 @@ struct fscrypt_ctx {
                struct list_head free_list;     /* Free list */
        };
        u8 flags;                               /* Flags */
-       u8 mode;                                /* Encryption mode for tfm */
 };
 
 /**