[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230921063501.1571222-1-u.kleine-koenig@pengutronix.de>
Date: Thu, 21 Sep 2023 08:35:01 +0200
From: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>
To: "David S . Miller" <davem@...emloft.net>
Cc: Radhey Shyam Pandey <radhey.shyam.pandey@....com>,
netdev@...r.kernel.org,
kernel@...gutronix.de,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>
Subject: [PATCH net-next] net: ethernet: xilinx: Drop kernel doc comment about return value
During review of the patch that became 2e0ec0afa902 ("net: ethernet:
xilinx: Convert to platform remove callback returning void") in
net-next, Radhey Shyam Pandey pointed out that the change makes the
documentation about the return value obsolete. The patch was applied
without addressing this feedback, so here comes a fix in a separate
patch.
Fixes: 2e0ec0afa902 ("net: ethernet: xilinx: Convert to platform remove callback returning void")
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>
---
Hello,
I don't know if you keep net-next/main stable. If you're relaxed here,
feel free to squash this patch into the original commit.
Best regards
Uwe
drivers/net/ethernet/xilinx/xilinx_emaclite.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/net/ethernet/xilinx/xilinx_emaclite.c b/drivers/net/ethernet/xilinx/xilinx_emaclite.c
index 32a502e7318b..765aa516aada 100644
--- a/drivers/net/ethernet/xilinx/xilinx_emaclite.c
+++ b/drivers/net/ethernet/xilinx/xilinx_emaclite.c
@@ -1180,8 +1180,6 @@ static int xemaclite_of_probe(struct platform_device *ofdev)
* This function is called if a device is physically removed from the system or
* if the driver module is being unloaded. It frees any resources allocated to
* the device.
- *
- * Return: 0, always.
*/
static void xemaclite_of_remove(struct platform_device *of_dev)
{
base-commit: 940fcc189c51032dd0282cbee4497542c982ac59
--
2.40.1
Powered by blists - more mailing lists