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)
commit393d34cb862e6de0c283408149da2b9093d5a5c4
treee3ecec708637315e1d2f08d195bb8ba8b43931ad
parent9f87eb4246994e32a4e4ea88476b20ab3b412840
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