From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752209AbbJSLTv (ORCPT ); Mon, 19 Oct 2015 07:19:51 -0400 Received: from mx1.redhat.com ([209.132.183.28]:60324 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751543AbbJSLTu (ORCPT ); Mon, 19 Oct 2015 07:19:50 -0400 Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 Subject: [PATCH] akcipher: Don't #include crypto/public_key.h as the contents aren't used From: David Howells To: tadeusz.struk@intel.com Cc: dhowells@redhat.com, linux-kernel@vger.kernel.org, herbert@gondor.apana.org.au, linux-crypto@vger.kernel.org Date: Mon, 19 Oct 2015 12:19:45 +0100 Message-ID: <20151019111945.9535.66118.stgit@warthog.procyon.org.uk> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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 #include #include -#include #include "internal.h" #ifdef CONFIG_NET