summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2023-03-21 16:54:12 +0300
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2023-03-29 19:11:23 +0300
commit4ea0c97776bf8c63805eb0f8182d9c20072219d9 (patch)
treebda5e8b20c6d9ccce80db52c84cb67da0073592a /tools/perf/scripts/python/exported-sql-viewer.py
parent79736429c97f517247645e73e75c956efd09ad03 (diff)
downloadlinux-4ea0c97776bf8c63805eb0f8182d9c20072219d9.tar.xz
gpiolib: Check array_info for NULL only once in gpiod_get_array()
gpiod_get_array() has a long if-else-if branching where each of them tests for the same variable to be not NULL. Instead, check for NULL before even going to that flow. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions