Skip to contentSkip to conversation

exynos-gsc: remove unused improper CONFIG definition

PATCH In review Lukas Bulwahn 2 participants 2 messages Nov 23, 2023

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 exynos-gsc: remove unused improper CONFIG definition

Defines prefixed with "CONFIG" should be limited to proper Kconfig options, that are introduced in a Kconfig file.

In the driver code, there is a define for CONFIG_VB2_GSC_DMA_CONTIG, but this is not used anywhere in the code.

Just remove this unused definition.

No functional change.

---
 drivers/media/platform/samsung/exynos-gsc/gsc-core.h | 1 -
 1 file changed, 1 deletion(-)
drivers/media/platform/samsung/exynos-gsc/gsc-core.h +0 -1
index 1ea5fa1bf3c8..b9777e07fb6d 100644
@@ -26,7 +26,6 @@
 
 #include "gsc-regs.h"
 
-#define CONFIG_VB2_GSC_DMA_CONTIG	1
 #define GSC_MODULE_NAME			"exynos-gsc"
 
 #define GSC_SHUTDOWN_TIMEOUT		((100*HZ)/1000)
Signature · 1 line
2.17.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · Lukas Bulwahn

Defines prefixed with "CONFIG" should be limited to proper Kconfig options, that are introduced in a Kconfig file.

In the driver code, there is a define for CONFIG_VB2_GSC_DMA_CONTIG, but this is not used anywhere in the code.

Best regards,
Krzysztof