From: Marc Kleine-Budde Date: Wed, 27 Jul 2022 11:09:39 +0000 (+0200) Subject: Merge patch series "can: export export slcan_ethtool_ops and remove setter functions" X-Git-Tag: v6.1-rc5~731^2~17^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9d8dd3725f4032f94d9cf65304559e0780e04ad7;p=platform%2Fkernel%2Flinux-starfive.git Merge patch series "can: export export slcan_ethtool_ops and remove setter functions" Vincent Mailhol says: ==================== The c_can, flexcan and slcan use a setter function to populate net_device::ethtool_ops. Using a setter here add one additional function call and add some small bloat in the object file. Exporting the structure allow to remove this setter. The mcp251xfd uses a similar pattern except that it does some additional initialization. As such, this driver is left untouched. * Statistics * For the slcan driver, this patch reduces the object file by 14 bytes (details in the first patch). Although we did not conduct a benchmark for the other drivers but we expect the exact same figures. ==================== Link: https://lore.kernel.org/all/20220727104939.279022-1-mailhol.vincent@wanadoo.fr Signed-off-by: Marc Kleine-Budde --- 9d8dd3725f4032f94d9cf65304559e0780e04ad7