diff options
author | Alexander Danilenko <[email protected]> | 2023-08-15 12:20:58 +0300 |
---|---|---|
committer | Mark Brown <[email protected]> | 2023-08-15 19:55:00 +0100 |
commit | 373c36bf7914e3198ac2654dede499f340c52950 (patch) | |
tree | 9ed5f056568694d15a96a918324feaea28220fe7 /scripts/generate_rust_analyzer.py | |
parent | f5b19425cdfdeab58c9c7b68a48dc6fb60e258d1 (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions