]> git.ipfire.org Git - thirdparty/linux.git/commit
net: macb: Remove local variables clk_init and init in macb_probe()
authorThéo Lebrun <theo.lebrun@bootlin.com>
Tue, 14 Oct 2025 15:25:05 +0000 (17:25 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 16 Oct 2025 23:59:25 +0000 (16:59 -0700)
commit80cf78c59a1a9640acf56e22ad18ca17521dea51
tree78e2ba111627f955cbc9839756502179e6320ca3
parentbd0b35ec835a177539922834fd662be6280a65fd
net: macb: Remove local variables clk_init and init in macb_probe()

Remove local variables clk_init and init. Those function pointers are
always equivalent to macb_config->clk_init and macb_config->init.

Reviewed-by: Sean Anderson <sean.anderson@linux.dev>
Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com>
Link: https://patch.msgid.link/20251014-macb-cleanup-v1-4-31cd266e22cd@bootlin.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/cadence/macb_main.c