From: Eric Biggers Date: Thu, 15 Sep 2016 20:41:09 +0000 (-0400) Subject: fscrypto: remove unnecessary includes X-Git-Tag: MMI-PSA29.97-13-9~7022^2~17 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d83ae730b6f9464e46eaf052ff84d9486c5b4107;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git fscrypto: remove unnecessary includes This patch removes some #includes that are clearly not needed, such as a reference to ecryptfs, which is unrelated to the new filesystem encryption code. Signed-off-by: Eric Biggers Signed-off-by: Theodore Ts'o --- diff --git a/fs/crypto/crypto.c b/fs/crypto/crypto.c index c502c116924c..7c39eab47bdf 100644 --- a/fs/crypto/crypto.c +++ b/fs/crypto/crypto.c @@ -28,7 +28,6 @@ #include #include #include -#include static unsigned int num_prealloc_crypto_pages = 32; static unsigned int num_prealloc_crypto_ctxs = 128; diff --git a/fs/crypto/fname.c b/fs/crypto/fname.c index 5d6d49113efa..31088061db17 100644 --- a/fs/crypto/fname.c +++ b/fs/crypto/fname.c @@ -10,8 +10,6 @@ * This has not yet undergone a rigorous security audit. */ -#include -#include #include #include #include diff --git a/fs/crypto/keyinfo.c b/fs/crypto/keyinfo.c index b5374efc4ae3..82f0285f5d08 100644 --- a/fs/crypto/keyinfo.c +++ b/fs/crypto/keyinfo.c @@ -8,11 +8,8 @@ * Written by Michael Halcrow, Ildar Muslukhov, and Uday Savagaonkar, 2015. */ -#include #include -#include #include -#include #include static void derive_crypt_complete(struct crypto_async_request *req, int rc)