aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorThomas Petazzoni <[email protected]>2017-03-07 16:53:03 +0100
committerDavid S. Miller <[email protected]>2017-03-09 10:12:11 -0800
commit4d6c2a677fe5a903ed6483865cc14ff00a2054b5 (patch)
treedf6406252a217cec1d9ed9372d3a900a9c562072 /tools/perf/scripts/python/bin/stackcollapse-report
parentdf905f2e21b42a948b662d39de82039e02b88de3 (diff)
net: mvpp2: remove mvpp2_txq_pend_desc_num_get() function
The mvpp2_txq_pend_desc_num_get() function only selects a TX queue, and reads the number of pending descriptors. It is used in only one place, in mvpp2_txq_clean(), where the TX queue has already been selected by a write to MVPP2_TXQ_NUM_REG. Therefore, this function is useless, and the caller can simply read the value of the MVPP2_TXQ_PENDING_REG register instead. Signed-off-by: Thomas Petazzoni <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions