commit | b2718e6fd33aa0ea86a450704ba8c19032709927 | [log] [tgz] |
---|---|---|
author | Ioana Radulescu <ruxandra.radulescu@nxp.com> | Fri Mar 23 08:44:11 2018 -0500 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Mar 23 16:01:57 2018 +0100 |
tree | 90abda58d3ddf9d7fd3c5f13eaecc4e05560bf17 | |
parent | e018f1fd99adcd8e467ac60796ea93f5d86d2afe [diff] |
staging: fsl-dpaa2/eth: Cleanup TX frame freeing code Cleanup code in free_tx_fd() that deals with S/G frames: - remove local variables that aren't really needed - in the frame sw annotation area, store the actual SG table buffer size, which is needed on free, rather then recompute it based on number of S/G entries Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>