crypto: asymmetric_keys/signature.c does not need <module.h>
Subsystems (2)
PATCH 1/1 crypto: asymmetric_keys/signature.c does not need <module.h>
This file does not contain any modular related function calls. So get rid of module.h since it drags in a lot of other headers and adds to the preprocessing load. It does export some symbols though, so we'll need to ensure it has export.h present instead.
Cc Herbert Xu <[email protected]>
Cc "David S. Miller" <[email protected]>
Signed-off-by Paul Gortmaker <[email protected]>
--- crypto/asymmetric_keys/signature.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
crypto/asymmetric_keys/signature.c +1 -1
@@ -13,7 +13,7 @@#define pr_fmt (fmt) "SIG: "fmt#include <keys/asymmetric-subtype.h> -#include <linux/module.h> +#include <linux/export.h> #include <linux/err.h> #include <crypto/public_key.h> #include "asymmetric_keys.h"
Signature · 1 line
2.5.0
Herbert Xu
maintainerQuoted 9 lines · Paul Gortmaker
This file does not contain any modular related function calls. So get rid of
module.hsince it drags in a lot of other headers and adds to the preprocessing load. It does export some symbols though, so we'll need to ensure it hasexport.hpresent instead.Cc Herbert Xu <[email protected]>Cc "David S. Miller" <[email protected]>Signed-off-by Paul Gortmaker <[email protected]>
Patch applied. Thanks.
Signature · 3 lines
Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt