diff options
author | Alexander Danilenko <al.b.danilenko@gmail.com> | 2023-08-15 12:20:58 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-08-15 21:55:00 +0300 |
commit | 373c36bf7914e3198ac2654dede499f340c52950 (patch) | |
tree | 9ed5f056568694d15a96a918324feaea28220fe7 /scripts/gdb/linux/utils.py | |
parent | f5b19425cdfdeab58c9c7b68a48dc6fb60e258d1 (diff) | |
download | linux-373c36bf7914e3198ac2654dede499f340c52950.tar.xz |
spi: tegra114: Remove unnecessary NULL-pointer checks
cs_setup, cs_hold and cs_inactive points to fields of spi_device struct,
so there is no sense in checking them for NULL.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Fixes: 04e6bb0d6bb1 ("spi: modify set_cs_timing parameter")
Signed-off-by: Alexander Danilenko <al.b.danilenko@gmail.com>
Link: https://lore.kernel.org/r/20230815092058.4083-1-al.b.danilenko@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions