Loading
net: stmmac: elminate tbs_desc in stmmac_xmit()
There is no need to have a local variable for tbs_desc, we can do the conversion when calling stmmac_set_desc_tbs(). Signed-off-by:Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Link: https://patch.msgid.link/E1w3d0b-0000000DfMD-2hrD@rmk-PC.armlinux.org.uk Tested-by:
Maxime Chevallier <maxime.chevallier@bootlin.com> Signed-off-by:
Paolo Abeni <pabeni@redhat.com>