net: stmmac: reduce dma ring display code duplication
authorBaruch Siach <baruch@tkos.co.il>
Sun, 19 Nov 2023 05:39:41 +0000 (07:39 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 21 Nov 2023 11:45:11 +0000 (12:45 +0100)
commit79a4f4dfa69a8379ab34675be976c2f866c77403
tree96cb80b20a3782f12d435180015d06905ff50650
parent7911deba293da98353569c9d19464a440b418ad0
net: stmmac: reduce dma ring display code duplication

The code to show extended descriptor is identical to normal one.
Consolidate the code to remove duplication.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Link: https://lore.kernel.org/r/a2a5c5ce9338bdea60ec71d7eeb00fe757281557.1700372381.git.baruch@tkos.co.il
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c