Thread (35 messages) 35 messages, 5 authors, 2021-10-04

Re: [PATCH v2 11/11] interconnect: qcom: drop DEFINE_QNODE macro

From: AngeloGioacchino Del Regno <hidden>
Date: 2021-09-04 11:00:53
Also in: linux-arm-msm

Il 04/09/21 01:24, Dmitry Baryshkov ha scritto:
Drop DEFINE_QNODE macro which has become unused.

Signed-off-by: Dmitry Baryshkov <redacted>
Tested on Sony Xperia XA2 (sdm630-pioneer)



Reviewed-by: AngeloGioacchino Del Regno <redacted>
quoted hunk ↗ jump to hunk
---
  drivers/interconnect/qcom/icc-rpm.h | 14 --------------
  1 file changed, 14 deletions(-)
diff --git a/drivers/interconnect/qcom/icc-rpm.h b/drivers/interconnect/qcom/icc-rpm.h
index f6746dabdf28..0b53fae089ac 100644
--- a/drivers/interconnect/qcom/icc-rpm.h
+++ b/drivers/interconnect/qcom/icc-rpm.h
@@ -82,20 +82,6 @@ struct qcom_icc_desc {
  	unsigned int qos_offset;
  };
  
-#define DEFINE_QNODE(_name, _id, _buswidth, _mas_rpm_id, _slv_rpm_id,	\
-		     ...)						\
-		static const u16 _name ## _links[] = { __VA_ARGS__ };	\
-		\
-		static struct qcom_icc_node _name = {			\
-		.name = #_name,						\
-		.id = _id,						\
-		.buswidth = _buswidth,					\
-		.mas_rpm_id = _mas_rpm_id,				\
-		.slv_rpm_id = _slv_rpm_id,				\
-		.num_links = ARRAY_SIZE(_name ## _links),		\
-		.links = _name ## _links,				\
-	}
-
  /* Valid for both NoC and BIMC */
  #define NOC_QOS_MODE_INVALID		-1
  #define NOC_QOS_MODE_FIXED		0x0
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help