aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2023-03-21 15:54:12 +0200
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2023-03-29 18:11:23 +0200
commit4ea0c97776bf8c63805eb0f8182d9c20072219d9 (patch)
treebda5e8b20c6d9ccce80db52c84cb67da0073592a /tools/perf/scripts/python
parentgpiolib: Replace open coded krealloc() (diff)
downloadwireguard-linux-4ea0c97776bf8c63805eb0f8182d9c20072219d9.tar.xz
wireguard-linux-4ea0c97776bf8c63805eb0f8182d9c20072219d9.zip
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')
0 files changed, 0 insertions, 0 deletions