Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1250569 > unrolled thread

[PATCH] akcipher: Don't #include crypto/public_key.h as the contents aren't used

Started byDavid Howells <dhowells@redhat.com>
First post2015-10-19 13:20 +0200
Last post2015-10-20 16:30 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] akcipher: Don't #include crypto/public_key.h as the  contents aren't used David Howells <dhowells@redhat.com> - 2015-10-19 13:20 +0200
    Re: [PATCH] akcipher: Don't #include crypto/public_key.h as the  contents aren't used Herbert Xu <herbert@gondor.apana.org.au> - 2015-10-20 16:30 +0200

#1250569 — [PATCH] akcipher: Don't #include crypto/public_key.h as the contents aren't used

FromDavid Howells <dhowells@redhat.com>
Date2015-10-19 13:20 +0200
Subject[PATCH] akcipher: Don't #include crypto/public_key.h as the contents aren't used
Message-ID<qlgDT-2K0-7@gated-at.bofh.it>
Don't #include crypto/public_key.h in akcipher as the contents of the
header aren't used and changes in a future patch cause it to fail to
compile if CONFIG_KEYS=n.

Signed-off-by: David Howells <dhowells@redhat.com>
---

 crypto/akcipher.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/crypto/akcipher.c b/crypto/akcipher.c
index 528ae6aa9bff..120ec042ec9e 100644
--- a/crypto/akcipher.c
+++ b/crypto/akcipher.c
@@ -21,7 +21,6 @@
 #include <linux/cryptouser.h>
 #include <net/netlink.h>
 #include <crypto/akcipher.h>
-#include <crypto/public_key.h>
 #include "internal.h"
 
 #ifdef CONFIG_NET

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1251742

FromHerbert Xu <herbert@gondor.apana.org.au>
Date2015-10-20 16:30 +0200
Message-ID<qlG5j-6l5-9@gated-at.bofh.it>
In reply to#1250569
On Mon, Oct 19, 2015 at 12:19:45PM +0100, David Howells wrote:
> Don't #include crypto/public_key.h in akcipher as the contents of the
> header aren't used and changes in a future patch cause it to fail to
> compile if CONFIG_KEYS=n.
> 
> Signed-off-by: David Howells <dhowells@redhat.com>

Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web