[PATCH 2/2] interconnect: qcom: sdm660: Remove unused macros

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The following is observed when compiling with -Wunused-macros:

sdm660.c:43: warning: macro "NOC_PERM_MODE_FIXED" is not used
sdm660.c:44: warning: macro "NOC_PERM_MODE_BYPASS" is not used
sdm660.c:39: warning: macro "NOC_QOS_MODE_LIMITER" is not used

These are not used anywhere in the code, so let's remove them.

Signed-off-by: Georgi Djakov <georgi.djakov@xxxxxxxxxx>
---
 drivers/interconnect/qcom/sdm660.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/interconnect/qcom/sdm660.c b/drivers/interconnect/qcom/sdm660.c
index dbcfc8f15738..bf7e544129c3 100644
--- a/drivers/interconnect/qcom/sdm660.c
+++ b/drivers/interconnect/qcom/sdm660.c
@@ -36,13 +36,9 @@
 
 /* Valid for both NoC and BIMC */
 #define NOC_QOS_MODE_FIXED		0x0
-#define NOC_QOS_MODE_LIMITER		0x1
 #define NOC_QOS_MODE_BYPASS		0x2
 
 /* NoC QoS */
-#define NOC_PERM_MODE_FIXED		1
-#define NOC_PERM_MODE_BYPASS		(1 << NOC_QOS_MODE_BYPASS)
-
 #define NOC_QOS_PRIORITYn_ADDR(n)	(0x8 + (n * 0x1000))
 #define NOC_QOS_PRIORITY_MASK		0xf
 #define NOC_QOS_PRIORITY_P1_SHIFT	0x2



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux