]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
crypto: bcm - remove -I. header search path and unused macro define
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 25 Jan 2019 06:07:48 +0000 (15:07 +0900)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 1 Feb 2019 06:42:05 +0000 (14:42 +0800)
The header search path -I. in kernel Makefiles is very suspicious;
it allows the compiler to search for headers in the top of $(srctree),
where obviously no header file exists.

'git grep BCMDRIVER' has no hit. So, this macro is not referenced.

I was able to build this driver without the extra compiler options.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/bcm/Makefile

index 13cb80eb2665b1660e5dcd66642b55576f322198..7469e19afe853cf17edf029237eda22b5b1a9f26 100644 (file)
@@ -11,5 +11,3 @@
 obj-$(CONFIG_CRYPTO_DEV_BCM_SPU) := bcm_crypto_spu.o
 
 bcm_crypto_spu-objs :=  util.o spu.o spu2.o cipher.o
-
-ccflags-y += -I. -DBCMDRIVER