diff options
| author | willy tarreau <[email protected]> | 2014-01-16 08:20:14 +0100 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2014-01-16 15:15:42 -0800 |
| commit | 5428213c042b572d10418fe22cc3c1c682631cad (patch) | |
| tree | e25bdf668486a6cf811fc25ad656b7173325a69d /tools/perf/scripts/python/bin | |
| parent | a1a65ab18a9da16e322e88305324c38cd797caa9 (diff) | |
net: mvneta: simplify access to the rx descriptor status
At several places, we already know the value of the rx status but
we call functions which dereference the pointer again to get it
and don't need the descriptor for anything else. Simplify this
task by replacing the rx desc pointer by the status word itself.
Cc: Thomas Petazzoni <[email protected]>
Cc: Gregory CLEMENT <[email protected]>
Tested-by: Arnaud Ebalard <[email protected]>
Signed-off-by: Willy Tarreau <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions