diff options
author | 2015-11-16 21:56:07 +0100 | |
---|---|---|
committer | 2015-12-10 09:17:05 +0530 | |
commit | a9bae06dd05fc8262e7430b2e70ebc49d3e68488 (patch) | |
tree | ff9f13623c51dea29e06442af4fa6ceb37056fd5 /tools/perf/scripts/python/stackcollapse.py | |
parent | ste_dma40: Delete an unnecessary check before the function call "kmem_cache_destroy" (diff) | |
download | linux-dev-a9bae06dd05fc8262e7430b2e70ebc49d3e68488.tar.xz linux-dev-a9bae06dd05fc8262e7430b2e70ebc49d3e68488.zip |
ste_dma40: Delete another unnecessary check in d40_probe()
A single jump label was used by the d40_probe() function in several cases
for error handling which was a bit inefficient here.
* This implementation detail could be improved by the introduction
of another jump label.
* Remove an extra check for the variable "base".
* Omit its explicit initialisation at the beginning then.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions