]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
net: ethernet: xilinx: Drop kernel doc comment about return value
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Thu, 21 Sep 2023 06:35:01 +0000 (08:35 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 1 Oct 2023 13:00:27 +0000 (14:00 +0100)
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@pengutronix.de>
Reviewed-by: Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/xilinx/xilinx_emaclite.c

index 32a502e7318bbae049dcaa68de950be51e9b5cb0..765aa516aada5a182f9dfff9104a2c596f6a9282 100644 (file)
@@ -1180,8 +1180,6 @@ error:
  * 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)
 {