From patchwork Fri Sep 3 23:24:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 506566 Delivered-To: patch@linaro.org Received: by 2002:a17:906:f46:0:0:0:0 with SMTP id h6csp1976513ejj; Fri, 3 Sep 2021 16:24:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxkhjbas0JhWQpat9NHDi7J2naanh6bbJtKKj4O2uPIMrBbMXEAIM/SrFvPL6TCKE0+n8ME X-Received: by 2002:a17:906:781:: with SMTP id l1mr1366808ejc.289.1630711480081; Fri, 03 Sep 2021 16:24:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630711480; cv=none; d=google.com; s=arc-20160816; b=SkMDZKBtdo7AEeNlSTr3R28j+9pUB2NAbFhr0juZ+ZusaA+xcZt942ius4LLvakj0L GguGEwyPPS0FfUAqeH5RYlNupwG1I/CEeVv2xe25s//g938s8eETRVNEZoZRYhVqfZop CidzUgSwTWkQwz+sHld8k2pWRVnHmwMtSWgzeB//KIWvyZkNrV+nN1xwlDAv3krE68LP XHwuo5OueLARF6ztIn/IDbkGS2U83wst0Vj19YvvcPIrWXbEOQWzmb807mPkzM+rlo7d 20EIwP/EBPa2mebhKnKjVvLzLiBWoa6uLepoZ8t0AzjrHC506nHuAxZ+YKcdrsbU+WA0 4O2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=kd2nb9s2Osi8MHIbxM1lxmxPOFNi6CuNMu2QVLL3eSM=; b=p+c0SYosd/9/YKhHoIGEBkBnEnA4Xb2l+YtY4q2lkRutoaRscIRdezYnIBeSf0eeJ/ VAj4Vw+e72GqqAETJkFe4OjgzLrzEpHRzSHcmXg2lYtgPNCbWXrZ1k9SCdCWVCX90dvt h+j8992BSE5tzhY+cikp8HUAyJp3fLf80uSAL0USG+WK53c5ZkogihxxzviJ3NQkrxmS /RkpecY1XR5ztFanuKvLB3JjnN3Owo/zq7kflDuw3sIOKfWQY7MPyd8ymhsGqktuoHc2 NCeHer0Hw7qn44cgw1iUW/A5e2/BKm4mua2awpwmVN3O2D3zJ1mf/wsmy70U/EvtGn7F 5nSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=A0iD2EDz; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dp5si572394ejc.132.2021.09.03.16.24.39; Fri, 03 Sep 2021 16:24:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=A0iD2EDz; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350767AbhICXZg (ORCPT + 16 others); Fri, 3 Sep 2021 19:25:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350773AbhICXZf (ORCPT ); Fri, 3 Sep 2021 19:25:35 -0400 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7BC63C061760 for ; Fri, 3 Sep 2021 16:24:34 -0700 (PDT) Received: by mail-lf1-x133.google.com with SMTP id t19so1289500lfe.13 for ; Fri, 03 Sep 2021 16:24:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=kd2nb9s2Osi8MHIbxM1lxmxPOFNi6CuNMu2QVLL3eSM=; b=A0iD2EDzSQdJZv8n6FQutX3dJCkT59Q64Yxf6q6obbCwFZdilR4HHsjrto8qUvxGkI oIpYFABP8TeWMJS2neJ5wyk1vCPnAdY134lE/LbiT4QYe90ct1NEGG5Sp6IHoxoE3ldI LNRC+Pvw63SaD5SgLTA+5aaTisjPXgS9V95iq6ZdbVHouzZM59bNOnG7sFRgqzFywNtq IEqLqntxXcwEuIeaQ6C0ZC2/PUPjiQLNX3t7hadsdxar1wnpixmIZbbiQtSk3twQ3I0F IptoKWrIr1kKNX33WomwS5l+mcqOQuSecFoy8jN6avi6bNMRHAaaUuwgZkV+MMmrRzRr nUTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=kd2nb9s2Osi8MHIbxM1lxmxPOFNi6CuNMu2QVLL3eSM=; b=suritMshfmoSAd/2cI782+lLtABC5J3jhinb8hxulu17bWxQLs0F6i5vD3u4tBed5a QWH+UiJ9X4T6xbuWn9sWZgmUZ5VvcfPVRTssgUcnPsO4+NpKL2c77A9EUOn6WbF15qVr ulfZfmgjx/Xh7cLESnPorOOKNRpCQDosafGykf5r9lfqNceiMu/UFuaXuIqkG3kiZVDX qpqluRHVvyVj3u111pZdurZMDHSq/emSF+QX7No29K2yVE9iaMqlVPl8JV4LzyQ1uB+V k+eI5/PpfhLjpjceNjgBDlWGIabfcYkpJBYsTEhkRYuCAH8bCxXGcjbNsPivsUhgpC06 AZTw== X-Gm-Message-State: AOAM533obgjHfsimVwmZKk7ZLUuezHcU+9qHGU6ADiyejeKWBTLi2TAR taj5E3CjL9PF+iM9HM1zsTIvxg== X-Received: by 2002:a19:c1cc:: with SMTP id r195mr953895lff.504.1630711472895; Fri, 03 Sep 2021 16:24:32 -0700 (PDT) Received: from eriador.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id w3sm56924ljm.13.2021.09.03.16.24.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Sep 2021 16:24:32 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Georgi Djakov Cc: AngeloGioacchino Del Regno , Shawn Guo , Yassine Oudjana , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org Subject: [PATCH v2 11/11] interconnect: qcom: drop DEFINE_QNODE macro Date: Sat, 4 Sep 2021 02:24:21 +0300 Message-Id: <20210903232421.1384199-12-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210903232421.1384199-1-dmitry.baryshkov@linaro.org> References: <20210903232421.1384199-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Drop DEFINE_QNODE macro which has become unused. Signed-off-by: Dmitry Baryshkov --- drivers/interconnect/qcom/icc-rpm.h | 14 -------------- 1 file changed, 14 deletions(-) -- 2.33.0 Reviewed-by: AngeloGioacchino Del Regno Reviewed-by: Marijn Suijten 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