spi: Remove unneeded OF node NULL checks
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 10 Jul 2023 15:49:18 +0000 (18:49 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 10 Jul 2023 17:27:42 +0000 (18:27 +0100)
commitfbab5b2c09060e8034fee6ec2df69a62594fb7db
tree9ced565720446d20620911854fa8fcb7b7ce399c
parent06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5
spi: Remove unneeded OF node NULL checks

In the couple of places the NULL check of OF node is implied by the call
that takes it as a parameter. Drop the respective duplicate checks.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20230710154932.68377-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi.c