summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2023-10-03 17:21:19 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-10-05 12:12:59 +0300
commitaab8aa0d35fc59e81c367cf34f990aaf48d24419 (patch)
tree9834e30ec8e53d8866aa5a49095ec36931e08e85 /tools/perf/scripts/python/export-to-postgresql.py
parent8a749fd1a8720d4619c91c8b6e7528c0a355c0aa (diff)
downloadlinux-aab8aa0d35fc59e81c367cf34f990aaf48d24419.tar.xz
driver core: platform: Drop redundant check in platform_device_add()
Starting from the commit 37c12e7497b6 ("[DRIVER MODEL] Improved dynamically allocated platform_device interface") the pdev expects to be allocated beforehand or guaranteed to be non-NULL. Hence the leftover check is now redundant (as we have no combined calls like platform_device_add(platform_device_alloc(...)) in the entire kernel source code. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20231003142122.3072824-1-andriy.shevchenko@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions