aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/flamegraph-record
diff options
context:
space:
mode:
authorMartin Kaiser <martin@kaiser.cx>2023-01-23 21:53:33 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-01-27 10:10:36 +0100
commit6500084a41758542c839e280703eddebdd367b10 (patch)
tree8646590968511fe1b09f6d22825c41861a6e841f /tools/perf/scripts/python/bin/flamegraph-record
parentstaging: r8188eu: make rtw_chk_hi_queue_cmd a void function (diff)
downloadlinux-6500084a41758542c839e280703eddebdd367b10.tar.gz
linux-6500084a41758542c839e280703eddebdd367b10.zip
staging: r8188eu: decrement qcnt in rtw_dequeue_xframe
rtw_dequeue_xframe calls dequeue_one_xmitframe and passes a struct tx_servq. The only use for this parameter is to decrement its qcnt if an xmit_frame could be extracted. It makes more sense to remove the struct tx_servq parameter from dequeue_one_xmitframe and decrement qcnt in the calling function when dequeue_one_xmitframe returns success, i.e. when an xmit_frame was extracted. Signed-off-by: Martin Kaiser <martin@kaiser.cx> Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150 Link: https://lore.kernel.org/r/20230123205342.229589-15-martin@kaiser.cx Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/flamegraph-record')
0 files changed, 0 insertions, 0 deletions