Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp7467765rwb; Mon, 12 Dec 2022 15:16:32 -0800 (PST) X-Google-Smtp-Source: AA0mqf4kVsCYPwxNZg3LljYM4WlU/OMGjurha47QWbj5NvKhuSWQiDraQl3KuWg1he6cG6B8gzXX X-Received: by 2002:a17:90a:4404:b0:218:87e5:19f4 with SMTP id s4-20020a17090a440400b0021887e519f4mr18548563pjg.3.1670886992580; Mon, 12 Dec 2022 15:16:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670886992; cv=none; d=google.com; s=arc-20160816; b=Eo7KkcRrKnspgvbwMijKlToAuiSYHcr/9JOnJGXNoQJrEi1rV/PK189nv0P6m4h4i9 IFi8xyrXwDXLXkVCNfjFHgpzwQJ3ZvFEoevXLsVU8pplvF1VKJB6WFbKEE9GazCiM9jO QXsn81kC7yqLqURiYy2fHfd5+cdzWNGgc9XES4dd+SG1QXVKldXHfd0e0U5M6Nz9K2UP XTqov7Jtx1ezGiFtWHr54QU1Rz0LXcJ7tlWTm8USmxfPZittu6gPbezpDkjyn609AO7M UKWU3grml6XVAotdnxaxPGBPxVVYosHWA9Z91HaU1qnnJg6L6sQZS5DHsTV8j+O4MVca tCSA== 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; bh=VwHBtStHvvxlZklMBlvdkrzIc5xx+5degmb8AW3uOvI=; b=zIUDvGDg0NWXYNuNBEM/Q1aC1WMED6q0TfuWpWfDkSaxh2/4xsrYbKHqfABgsPhjz0 WrjyDiN4ES7LCE2rTLvk+eF3UHCgtHH3Nwmh17POMEXjlyBGxLYY5v6bAmHlfNyfzxvI zms0hZ9U3SHWMggyJQTFZbRtNOORwjMMJH9qi8QB84+yuxxi1gdYC6+iURTERWs9PM2g AnJaPfBqJkQG0J5b3mR2i7MYmLBnqiPLFt1EkAiXpzXqUFZjdtiLhd1SbXjBEHMpgh5n FJRZ7pYaxR6JnhuLmzDL37DJrTDGbWvzAJ1yClOG+b6dUOhLj2kue1sPXk2oeDfqvxbj m4BA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ls5-20020a17090b350500b002193189259csi12158966pjb.36.2022.12.12.15.16.22; Mon, 12 Dec 2022 15:16:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233754AbiLLW0C (ORCPT + 74 others); Mon, 12 Dec 2022 17:26:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233744AbiLLWZ5 (ORCPT ); Mon, 12 Dec 2022 17:25:57 -0500 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EDC521AD87 for ; Mon, 12 Dec 2022 14:25:55 -0800 (PST) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p4rFA-0004ep-8k; Mon, 12 Dec 2022 23:25:52 +0100 Received: from [2a0a:edc0:0:900:1d::77] (helo=ptz.office.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1p4rF8-00477I-Rm; Mon, 12 Dec 2022 23:25:51 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1p4rF8-004bof-Ty; Mon, 12 Dec 2022 23:25:50 +0100 From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= To: Thierry Reding , Jonathan Hunter Cc: linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@pengutronix.de Subject: [PATCH 3/3] soc: tegra: cbb: Drop empty platform remove function Date: Mon, 12 Dec 2022 23:25:49 +0100 Message-Id: <20221212222549.3779846-4-u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221212222549.3779846-1-u.kleine-koenig@pengutronix.de> References: <20221212222549.3779846-1-u.kleine-koenig@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Developer-Signature: v=1; a=openpgp-sha256; l=1137; i=u.kleine-koenig@pengutronix.de; h=from:subject; bh=y71smcDSlNK7gPTiR3iEOCLuDBdlfbnrdjyqfWwTI/o=; b=owEBbQGS/pANAwAKAcH8FHityuwJAcsmYgBjl6pnz3ifx3C0R/Ble0taw1B/viUTPgVfHgrbpybV HXHTJ6+JATMEAAEKAB0WIQR+cioWkBis/z50pAvB/BR4rcrsCQUCY5eqZwAKCRDB/BR4rcrsCS0sB/ 9St3UDbCfHoLl3o6HI9IQQTovtNGpnBJ3vFhjuU8asQevIAjnbA090XdVSmEDwQbp5NRhN7ThDqUqS +S9SpWIH5Xb6tI0n+zIkOuSaqGvaMRczT5eJZMLY+mqGUv4+S8dnvEuH5zJE9JAndy926kkxG8tiKS BDPdfabKFu3ZPmQLU/lh6mr5w+gltTMR8UZQTT8rydbT1VnYdn8hoepi75zr+oqLE0cF4vctSsm62j fR7l1jEFnzmKf6JUm+1LhvNLYvriSKkZYORCkrEB5SqERPMwd0PJ3EB8c1ZUGEGVtxaul18XlQB+v3 YXg+gDTDzHWR7NREjm048z4YsI2gsg X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 A remove callback just returning 0 is equivalent to no remove callback at all. So drop the useless function. Signed-off-by: Uwe Kleine-König --- drivers/soc/tegra/cbb/tegra234-cbb.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/soc/tegra/cbb/tegra234-cbb.c b/drivers/soc/tegra/cbb/tegra234-cbb.c index 3528f9e15d5c..3b26dcf9a70c 100644 --- a/drivers/soc/tegra/cbb/tegra234-cbb.c +++ b/drivers/soc/tegra/cbb/tegra234-cbb.c @@ -1066,11 +1066,6 @@ static int tegra234_cbb_probe(struct platform_device *pdev) return tegra_cbb_register(&cbb->base); } -static int tegra234_cbb_remove(struct platform_device *pdev) -{ - return 0; -} - static int __maybe_unused tegra234_cbb_resume_noirq(struct device *dev) { struct tegra234_cbb *cbb = dev_get_drvdata(dev); @@ -1088,7 +1083,6 @@ static const struct dev_pm_ops tegra234_cbb_pm = { static struct platform_driver tegra234_cbb_driver = { .probe = tegra234_cbb_probe, - .remove = tegra234_cbb_remove, .driver = { .name = "tegra234-cbb", .of_match_table = tegra234_cbb_dt_ids, -- 2.38.1