From: Uwe Kleine-König Date: Thu, 21 Sep 2023 06:35:01 +0000 (+0200) Subject: net: ethernet: xilinx: Drop kernel doc comment about return value X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f77e9f13ba090d922fdd3f6e3485fc32010284db;p=linux.git 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 Reviewed-by: Radhey Shyam Pandey Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/xilinx/xilinx_emaclite.c b/drivers/net/ethernet/xilinx/xilinx_emaclite.c index 32a502e7318bb..765aa516aada5 100644 --- a/drivers/net/ethernet/xilinx/xilinx_emaclite.c +++ b/drivers/net/ethernet/xilinx/xilinx_emaclite.c @@ -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) {