aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorThomas Petazzoni <[email protected]>2016-08-09 11:03:17 +0200
committerHerbert Xu <[email protected]>2016-08-09 18:47:30 +0800
commit6dc156f4536b9f0abb764cb34e652730dcc4883b (patch)
treeaa2d66c766644e1d3655284f90e975aa42dd4b03 /tools/perf/scripts/python/stackcollapse.py
parent3e5c66c9c31afecf1d6f7ef4ffc50ac3c1ff3c7c (diff)
crypto: marvell - make mv_cesa_ahash_cache_req() return bool
The mv_cesa_ahash_cache_req() function always returns 0, which makes its return value pretty much useless. However, in addition to returning a useless value, it also returns a boolean in a variable passed by reference to indicate if the request was already cached. So, this commit changes mv_cesa_ahash_cache_req() to return this boolean. It consequently simplifies the only call site of mv_cesa_ahash_cache_req(), where the "ret" variable is no longer needed. Signed-off-by: Thomas Petazzoni <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions