net: eepro100: Factor out tx_ring command issuing
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Sat, 23 May 2020 12:30:31 +0000 (14:30 +0200)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Thu, 18 Jun 2020 17:34:40 +0000 (19:34 +0200)
commit95655b921bdb39aa23a345be13140ab221776705
tree5cb18f94df94e6be43793a1f9bd3a72d3e26a88e
parent46df32ef2f8226434b06b43c51cbd94268b343d9
net: eepro100: Factor out tx_ring command issuing

This code is replicated in the driver thrice almost verbatim, factor
it out into a separate function and clean it up. No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
drivers/net/eepro100.c