Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

interconnect: qcom: drop DEFINE_QNODE macro

Drop DEFINE_QNODE macro which has become unused.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
Reviewed-by: Marijn Suijten <marijn.suijten@somainline.org>
Link: https://lore.kernel.org/r/20210903232421.1384199-12-dmitry.baryshkov@linaro.org
Signed-off-by: Georgi Djakov <djakov@kernel.org>

authored by

Dmitry Baryshkov and committed by
Georgi Djakov
79099cd0 42f236e2

-14
-14
drivers/interconnect/qcom/icc-rpm.h
··· 82 82 unsigned int qos_offset; 83 83 }; 84 84 85 - #define DEFINE_QNODE(_name, _id, _buswidth, _mas_rpm_id, _slv_rpm_id, \ 86 - ...) \ 87 - static const u16 _name ## _links[] = { __VA_ARGS__ }; \ 88 - \ 89 - static struct qcom_icc_node _name = { \ 90 - .name = #_name, \ 91 - .id = _id, \ 92 - .buswidth = _buswidth, \ 93 - .mas_rpm_id = _mas_rpm_id, \ 94 - .slv_rpm_id = _slv_rpm_id, \ 95 - .num_links = ARRAY_SIZE(_name ## _links), \ 96 - .links = _name ## _links, \ 97 - } 98 - 99 85 /* Valid for both NoC and BIMC */ 100 86 #define NOC_QOS_MODE_INVALID -1 101 87 #define NOC_QOS_MODE_FIXED 0x0