]> git.baikalelectronics.ru Git - kernel.git/commit
ethernet: tundra: Drop forward declaration of static functions
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Mon, 19 Sep 2022 13:15:15 +0000 (15:15 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 22 Sep 2022 01:37:57 +0000 (18:37 -0700)
commit5a3158397bfaec0de9f7e5107e56bce0a1eb7b23
treee3ecec708637315e1d2f08d195bb8ba8b43931ad
parent8e0654b40bda0b81fae2ced8a56f9752ef03f15d
ethernet: tundra: Drop forward declaration of static functions

Usually it's not necessary to declare static functions if the symbols are
in the right order. Moving the definition of tsi_eth_driver down in the
compilation unit allows to drop two such declarations.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20220919131515.885361-1-u.kleine-koenig@pengutronix.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/tundra/tsi108_eth.c