diff options
author | 2016-09-17 14:10:47 +0200 | |
---|---|---|
committer | 2016-09-26 23:06:17 +0530 | |
commit | f4534adbcfbb38a21691ca8dfdc8750689d8bcc9 (patch) | |
tree | 6ef8dd7a60f37b78d969d8dafac6b2fcec4b1126 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ste_dma40: Use kmalloc_array() in d40_hw_detect_init() (diff) | |
download | linux-dev-f4534adbcfbb38a21691ca8dfdc8750689d8bcc9.tar.xz linux-dev-f4534adbcfbb38a21691ca8dfdc8750689d8bcc9.zip |
ste_dma40: Less checks in d40_hw_detect_init() after error detection
Four checks could be repeated by the d40_hw_detect_init() function during
error handling even if the passed variables contained a null pointer.
* Adjust jump targets according to the Linux coding style convention.
* Call the interface "iounmap" only once at the end.
* Delete the repeated checks which became unnecessary with
this refactoring.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions