From patchwork Fri Aug 11 12:15:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 712760 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 40537C04A6A for ; Fri, 11 Aug 2023 12:16:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236427AbjHKMQH (ORCPT ); Fri, 11 Aug 2023 08:16:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42020 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236136AbjHKMPv (ORCPT ); Fri, 11 Aug 2023 08:15:51 -0400 Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C3E4030F3 for ; Fri, 11 Aug 2023 05:15:41 -0700 (PDT) Received: by mail-lj1-x22d.google.com with SMTP id 38308e7fff4ca-2b962535808so29646401fa.0 for ; Fri, 11 Aug 2023 05:15:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1691756140; x=1692360940; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=DMFnOGKpCcHz5aHCcTcO1hOPnRIEMr4GyfIgQMZzpno=; b=I5fddxg1ujfTktw/WvgkoLmgj9nY3HdQIAXurg/1qJ8sRybNrpgPGSBhT2MiFO2HCN FmiT45IWTA//ie3PmK64LQ5RUG1wO4G7Xl53BW1qZZItaOaOVd55DhEELI4Ym5GDEom2 80cnN1U6LKn9eVld/DMCLs0B9gLM14DRk3vkqGaT7v7p5lmRbZgGpg/1iICm3g/ZQSWl HwgF8s+/JponTStQfJWTNPJj3hpxjEdfB+Nt9w2P0vidyRWbhgyeKRrzIC5nJgxLYolz GGndVuLwxsFnWMNFFZqbhQ5w+M2GQ95L2snS7TTpqf2mSu3m5FkX0I9QBFUg1IyFALcC 0bvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691756140; x=1692360940; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=DMFnOGKpCcHz5aHCcTcO1hOPnRIEMr4GyfIgQMZzpno=; b=l9d/YYc1qiY7Zkg4RefDtQA898ZNlD+Cmev1vRzp9eInFfDynjLHoMj9Ih7lEnegTk c5IzygWbhqzKGciD0SAjtcib/9K5fGfwjFiKFJ3yS+WU203YodA6wbBgScZBXFcdvdlh /OIKa0rwa9Mf1lsSJVzc3wGFsjohYDyfXi0LYWRAhxPEzvGXq95otaXjr8X2PYDTJ8Yi f0IeE8l+j46OYSJsekXczZStoDlG8ZC2S6rrd6Y01Ffnd64kGoJZDjrvglB8yIevp6bt v5pD8cmfo0utJolJPAoDcLjduGc04qQpIt6bjgPNF2e4ThZPdGEcWDzLt0XCy2jg6WW/ 4XuA== X-Gm-Message-State: AOJu0Yym5Wfv0sD9a/WGG5OQZoysEcZf59m+XicrRO1dNuwKUwQKoRpl U5zDPL2N+L0rTiNqRodEUBBaoQ== X-Google-Smtp-Source: AGHT+IH9i4rUa8QLQq/9DPegBYBau7TirN5yQuzoJp+QgPPboMiE+oKZ+VBtL6EtXVpbhrzE/5IYKA== X-Received: by 2002:a2e:878b:0:b0:2b6:d5af:1160 with SMTP id n11-20020a2e878b000000b002b6d5af1160mr1537823lji.28.1691756140122; Fri, 11 Aug 2023 05:15:40 -0700 (PDT) Received: from [192.168.1.101] (abyj188.neoplus.adsl.tpnet.pl. [83.9.29.188]) by smtp.gmail.com with ESMTPSA id m12-20020a2e870c000000b002b9ec22d9fasm848487lji.29.2023.08.11.05.15.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Aug 2023 05:15:39 -0700 (PDT) From: Konrad Dybcio Date: Fri, 11 Aug 2023 14:15:21 +0200 Subject: [PATCH 10/20] interconnect: qcom: icc-rpmh: Retire DEFINE_QNODE MIME-Version: 1.0 Message-Id: <20230811-topic-icc_retire_macrosd-v1-10-c03aaeffc769@linaro.org> References: <20230811-topic-icc_retire_macrosd-v1-0-c03aaeffc769@linaro.org> In-Reply-To: <20230811-topic-icc_retire_macrosd-v1-0-c03aaeffc769@linaro.org> To: Andy Gross , Bjorn Andersson , Georgi Djakov Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1691756124; l=1035; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=pd0W+LxTiFTGtTMU3Fep3iWiCLhzL6DwXUHDT8FpVKE=; b=MxaKndL9wx6bJm+vBda2UR90He1xiFXTlkWe52jrhlEOFT1EIrYms18uqBD9TjXaXgWc1VKxA FVbGLPiLgNODhdksdCbudhoqsH6DjcAqwvrOOu+9Sj6jbnNaFJJvlZV X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org This helper has no users anymore. Kill it with heavy fire. Signed-off-by: Konrad Dybcio --- drivers/interconnect/qcom/icc-rpmh.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/drivers/interconnect/qcom/icc-rpmh.h b/drivers/interconnect/qcom/icc-rpmh.h index 7843d8864d6b..5f0af8b1fc43 100644 --- a/drivers/interconnect/qcom/icc-rpmh.h +++ b/drivers/interconnect/qcom/icc-rpmh.h @@ -120,16 +120,6 @@ struct qcom_icc_desc { size_t num_bcms; }; -#define DEFINE_QNODE(_name, _id, _channels, _buswidth, ...) \ - static struct qcom_icc_node _name = { \ - .id = _id, \ - .name = #_name, \ - .channels = _channels, \ - .buswidth = _buswidth, \ - .num_links = ARRAY_SIZE(((int[]){ __VA_ARGS__ })), \ - .links = { __VA_ARGS__ }, \ - } - int qcom_icc_aggregate(struct icc_node *node, u32 tag, u32 avg_bw, u32 peak_bw, u32 *agg_avg, u32 *agg_peak); int qcom_icc_set(struct icc_node *src, struct icc_node *dst);