aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorwilly tarreau <[email protected]>2014-01-16 08:20:12 +0100
committerDavid S. Miller <[email protected]>2014-01-16 15:15:42 -0800
commit6c4989748759f433bf999f33c1ff3853ed5ca945 (patch)
treeb4b0bbf5fec97d52a515c8bef433ceff2161cff4 /tools/perf/scripts/python/event_analyzing_sample.py
parent71f6d1b31fb1f278a345a30a2180515adc7d80ae (diff)
net: mvneta: remove tests for impossible cases in the tx_done path
Currently, mvneta_txq_bufs_free() calls mvneta_tx_done_policy() with a non-null cause to retrieve the pointer to the next queue to process. There are useless tests on the return queue number and on the pointer, all of which are well defined within a known limited set. This code path is fast, although not critical. Removing 3 tests here that the compiler could not optimize (verified) is always desirable. 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/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions