Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp194352iob; Mon, 2 May 2022 16:52:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwTDKsAySre88pyDGDVTvh2HN1K9ASsBYBCCdLYH9r2UVRzd184gI5dUDOHzty0vYx4IbcO X-Received: by 2002:a17:903:240c:b0:153:c8df:7207 with SMTP id e12-20020a170903240c00b00153c8df7207mr13882445plo.44.1651535548784; Mon, 02 May 2022 16:52:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651535548; cv=none; d=google.com; s=arc-20160816; b=Lfsu664FMRFC/HmAICz8zVd8h+tKWg2w00Bscd5Cp/536VaSArtxdTO++5RJO6+QV4 KY1CkGwgJih4nApSghhHoU2jOiOl3r1H0ZPTHjZQeTtaR6wkXKjmnX1TPAxZg+MtiV4V VG865qgGwlypsVHETz0MBHkEv9ch5uZh8hwJKd7YFwY3DiwWSm/S3ggBED92Lqgs8uUl MNg/fYLHFYrQCD88DO3zdwRI4MR3V4dli3hG/yJFjbWWecIuq3wcwGB97EcrRxNBEbEU a5jY9g96/S24ClGIaOyhm739R9Ye7vts68xwVcznzUw/2o6CDsgxZXt+KPpnSTf3dfd+ z4pA== 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=0LSWa1hQdoTzioWCbWfTtV4IOIT9RSgkMC0aJIZAhKE=; b=QX3o1+eRjA89XPuk9YSroLhHBuJKJHOJ/hL9Bh4sHremhfd2gCKi9ycj3HtmWjM++0 SPaCnaWZf5geYueyA6O9eeiX7dIbNR3XWjgrKdPYutZL1FqdXcQtD43CydHyfS2pr0iD VXP1J0RMBafHo2qm2X/KyBdQ1QTjT2Z0ty3bdOFtMrh/dQJL1FyLhcpiCQxZTT/s/hcq FWA5x2ftszmvdYUbdbUvHtgR9FyjmhNbZ/DGn1w6E1HS5D4yPfbSfag7UuRw3DCkU6Fk JIeL8YQaNPVClExxTgfKGBAg64rpSrhiRbIJ2JDPt+nS59S4KxnOOXUHW1mnQFM54Uwr WQJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sPkfVotv; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id g17-20020a056a001a1100b00505a42ba060si16080695pfv.22.2022.05.02.16.52.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 May 2022 16:52:28 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sPkfVotv; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4768533E8C; Mon, 2 May 2022 16:52:24 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346006AbiEAKje (ORCPT + 99 others); Sun, 1 May 2022 06:39:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58338 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344605AbiEAKjC (ORCPT ); Sun, 1 May 2022 06:39:02 -0400 Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F545CC4 for ; Sun, 1 May 2022 03:35:34 -0700 (PDT) Received: by mail-ed1-x52d.google.com with SMTP id g20so13683841edw.6 for ; Sun, 01 May 2022 03:35: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=0LSWa1hQdoTzioWCbWfTtV4IOIT9RSgkMC0aJIZAhKE=; b=sPkfVotvDIXhLsObMkJpjRsPJqzNemWS52CcpizWKGwTcuI2isWrGDfOYWzljPIwWV HIye0z2DwsI6SMQP5nl1kFnmiawxdVbmPK/uwFSLTDRrsIfooTCMFJ4ihXjDfeZ2pZUC jBpUim2GPIzNxEuh5/Z2CLUxXca3yMPVPZsss8Xu2jkTpaHnVe14Blhmuk0C6q6/zGEX YhSEzRxFVZqTBF3maWG3kvfVsRgC3aHPfU51S3YHSv3NZ3195B1eeCb8k/hzXK/rfMuK hqf10wRDjEm8foKAsbAbPnsZLBEs5+hm69TwdW66tVb4Vu0Cj2kqJ6Vm5DITnsYFqKhp bCKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=0LSWa1hQdoTzioWCbWfTtV4IOIT9RSgkMC0aJIZAhKE=; b=5olUz+JthgreAax+In9dUEoBJShgby1Xr703o2fG8JaL6jpqKKkmyOsERwyhd82SWo Je+GRxUz4P5aVhSKarrJ/Ef4gC70FKS0zV6dNG/s2Nki4mWzBic1ThrgP1Cyw7tzs+f0 LzMZ7kTcUwPWYO/raNOYP+hqx7IvPrwqJaue35KTxrGasHuZCHjBi9SCCd1QgfQrXccX lo/3lewLmzCNjIS2WcF6ntkzToUAWmFym2wYW2YOhJxwpROU1NZtErexEu6VeuaDmVhj 6kwhdkr0DdsdHyzMM7gVts54z9tPh3N612d54f+BE2UzXAq+b5bccTZdlv8bPr6FOrlq adZg== X-Gm-Message-State: AOAM532wJ7io/pK45fZ6cIuPlovEy0dL+Od33W3nuXKzgR9+khZCl7oC gmpYStoByrpSNx4soeMhkWqLbA== X-Received: by 2002:a05:6402:298b:b0:41d:675f:8b44 with SMTP id eq11-20020a056402298b00b0041d675f8b44mr8131185edb.377.1651401332808; Sun, 01 May 2022 03:35:32 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id zp1-20020a17090684e100b006f3ef214df1sm2464438ejb.87.2022.05.01.03.35.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 May 2022 03:35:32 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Michael Turquette , Stephen Boyd , Mathieu Poirier , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-remoteproc@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 5/8] rpmsg: qcom: glink: remove unused name Date: Sun, 1 May 2022 12:35:17 +0200 Message-Id: <20220501103520.111561-5-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220501103520.111561-1-krzysztof.kozlowski@linaro.org> References: <20220501103520.111561-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The qcom_glink.name is read from DTS but never used further, never referenced, so drop it. This also fixes kerneldoc warning: drivers/rpmsg/qcom_glink_native.c:125: warning: Function parameter or member 'name' not described in 'qcom_glink' Signed-off-by: Krzysztof Kozlowski --- drivers/rpmsg/qcom_glink_native.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/rpmsg/qcom_glink_native.c b/drivers/rpmsg/qcom_glink_native.c index 5bc5a0a6a8a7..72a1c0fd091d 100644 --- a/drivers/rpmsg/qcom_glink_native.c +++ b/drivers/rpmsg/qcom_glink_native.c @@ -98,8 +98,6 @@ struct glink_core_rx_intent { struct qcom_glink { struct device *dev; - const char *name; - struct mbox_client mbox_client; struct mbox_chan *mbox_chan; @@ -1755,10 +1753,6 @@ struct qcom_glink *qcom_glink_native_probe(struct device *dev, if (ret) dev_err(dev, "failed to add groups\n"); - ret = of_property_read_string(dev->of_node, "label", &glink->name); - if (ret < 0) - glink->name = dev->of_node->name; - glink->mbox_client.dev = dev; glink->mbox_client.knows_txdone = true; glink->mbox_chan = mbox_request_channel(&glink->mbox_client, 0); -- 2.32.0