diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2021-03-15 20:51:41 +0200 |
---|---|---|
committer | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2021-03-26 14:56:19 +0100 |
commit | e5391a02bce2422fa57a520dfaaf2693ec7f9546 (patch) | |
tree | 03f6a590fbbc4fa9a0b6ef013fa91e57c0bc0cf5 /tools/perf/scripts/python/syscall-counts.py | |
parent | 266315fb7cbed86f628f3fb4bb89a90943b66718 (diff) |
gpio: mockup: Drop duplicate NULL check in gpio_mockup_unregister_pdevs()
Since platform_device_unregister() is NULL-aware, we don't need to duplicate
this check. Remove it and fold the rest of the code.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions