Skip to content
Unverified Commit 373c36bf authored by Alexander Danilenko's avatar Alexander Danilenko Committed by Mark Brown
Browse files

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: 04e6bb0d ("spi: modify set_cs_timing parameter")
Signed-off-by: default avatarAlexander Danilenko <al.b.danilenko@gmail.com>
Link: https://lore.kernel.org/r/20230815092058.4083-1-al.b.danilenko@gmail.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent f5b19425
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment