mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] akcipher: Don't #include crypto/public_key.h as the contents aren't used
@ 2015-10-19 11:19 David Howells
  2015-10-20 14:26 ` Herbert Xu
  0 siblings, 1 reply; 2+ messages in thread
From: David Howells @ 2015-10-19 11:19 UTC (permalink / raw)
  To: tadeusz.struk; +Cc: dhowells, linux-kernel, herbert, linux-crypto

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-10-20 14:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-19 11:19 [PATCH] akcipher: Don't #include crypto/public_key.h as the contents aren't used David Howells
2015-10-20 14:26 ` Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®