fscrypt: remove unnecessary includes of ratelimit.h
diff mbox series

Message ID 20190528195908.77031-1-ebiggers@kernel.org
State Accepted
Headers show
Series
  • fscrypt: remove unnecessary includes of ratelimit.h
Related show

Commit Message

Eric Biggers May 28, 2019, 7:59 p.m. UTC
From: Eric Biggers <ebiggers@google.com>

These should have been removed during commit 544d08fde258 ("fscrypt: use
a common logging function"), but I missed them.

Signed-off-by: Eric Biggers <ebiggers@google.com>
---
 fs/crypto/fname.c   | 1 -
 fs/crypto/hooks.c   | 1 -
 fs/crypto/keyinfo.c | 1 -
 3 files changed, 3 deletions(-)

Comments

Eric Biggers June 11, 2019, 2:09 a.m. UTC | #1
On Tue, May 28, 2019 at 12:59:08PM -0700, Eric Biggers wrote:
> From: Eric Biggers <ebiggers@google.com>
> 
> These should have been removed during commit 544d08fde258 ("fscrypt: use
> a common logging function"), but I missed them.
> 
> Signed-off-by: Eric Biggers <ebiggers@google.com>
> ---
>  fs/crypto/fname.c   | 1 -
>  fs/crypto/hooks.c   | 1 -
>  fs/crypto/keyinfo.c | 1 -
>  3 files changed, 3 deletions(-)
> 
> diff --git a/fs/crypto/fname.c b/fs/crypto/fname.c
> index eccea3d8f9234..00d150ff30332 100644
> --- a/fs/crypto/fname.c
> +++ b/fs/crypto/fname.c
> @@ -12,7 +12,6 @@
>   */
>  
>  #include <linux/scatterlist.h>
> -#include <linux/ratelimit.h>
>  #include <crypto/skcipher.h>
>  #include "fscrypt_private.h"
>  
> diff --git a/fs/crypto/hooks.c b/fs/crypto/hooks.c
> index bd525f7573a49..c1d6715d88e93 100644
> --- a/fs/crypto/hooks.c
> +++ b/fs/crypto/hooks.c
> @@ -5,7 +5,6 @@
>   * Encryption hooks for higher-level filesystem operations.
>   */
>  
> -#include <linux/ratelimit.h>
>  #include "fscrypt_private.h"
>  
>  /**
> diff --git a/fs/crypto/keyinfo.c b/fs/crypto/keyinfo.c
> index dcd91a3fbe49a..207ebed918c15 100644
> --- a/fs/crypto/keyinfo.c
> +++ b/fs/crypto/keyinfo.c
> @@ -12,7 +12,6 @@
>  #include <keys/user-type.h>
>  #include <linux/hashtable.h>
>  #include <linux/scatterlist.h>
> -#include <linux/ratelimit.h>
>  #include <crypto/aes.h>
>  #include <crypto/algapi.h>
>  #include <crypto/sha.h>
> -- 
> 2.22.0.rc1.257.g3120a18244-goog
> 

Applied to fscrypt.git for v5.3.

- Eric

Patch
diff mbox series

diff --git a/fs/crypto/fname.c b/fs/crypto/fname.c
index eccea3d8f9234..00d150ff30332 100644
--- a/fs/crypto/fname.c
+++ b/fs/crypto/fname.c
@@ -12,7 +12,6 @@ 
  */
 
 #include <linux/scatterlist.h>
-#include <linux/ratelimit.h>
 #include <crypto/skcipher.h>
 #include "fscrypt_private.h"
 
diff --git a/fs/crypto/hooks.c b/fs/crypto/hooks.c
index bd525f7573a49..c1d6715d88e93 100644
--- a/fs/crypto/hooks.c
+++ b/fs/crypto/hooks.c
@@ -5,7 +5,6 @@ 
  * Encryption hooks for higher-level filesystem operations.
  */
 
-#include <linux/ratelimit.h>
 #include "fscrypt_private.h"
 
 /**
diff --git a/fs/crypto/keyinfo.c b/fs/crypto/keyinfo.c
index dcd91a3fbe49a..207ebed918c15 100644
--- a/fs/crypto/keyinfo.c
+++ b/fs/crypto/keyinfo.c
@@ -12,7 +12,6 @@ 
 #include <keys/user-type.h>
 #include <linux/hashtable.h>
 #include <linux/scatterlist.h>
-#include <linux/ratelimit.h>
 #include <crypto/aes.h>
 #include <crypto/algapi.h>
 #include <crypto/sha.h>