aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2025-03-21 20:20:15 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-04-11 16:51:19 +0200
commit38dbd9517d5872b2cafb576656fb214b48b1e893 (patch)
tree284935e8a23f31828b5990a3480919386ce069fb /tools/perf/scripts/python
parentserial: 8250_ni: Switch to use platform_get_mem_or_io() (diff)
downloadlinux-38dbd9517d5872b2cafb576656fb214b48b1e893.tar.gz
linux-38dbd9517d5872b2cafb576656fb214b48b1e893.zip
serial: 8250_ni: Remove unneeded conditionals
It doesn't matter if the properties are supplied or not in the struct ni16550_device_info as default in any case is 0. Hence there is no need to check for them being set. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Tested-by: Chaitanya Vadrevu <chaitanya.vadrevu@emerson.com> Reviewed-by: Chaitanya Vadrevu <chaitanya.vadrevu@emerson.com> Link: https://lore.kernel.org/r/20250321182119.454507-5-andriy.shevchenko@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions