]> www.infradead.org Git - users/jedix/linux-maple.git/commit
spi: pxa2xx: Remove duplicate check
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 30 May 2024 15:10:03 +0000 (18:10 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 3 Jun 2024 15:00:00 +0000 (16:00 +0100)
commit560fb06df2fd250004a1cac079717dbe7f863ff2
tree7ae1e6342c4e0466292493e7b5de2a0ebe395dce
parent9b328f5f5c921ec83e1765075b82e6cc05e576b9
spi: pxa2xx: Remove duplicate check

The mmio_base can't be NULL at this point. It's either checked
in both pxa_ssp_probe() and pxa2xx_spi_init_ssp() or correctly
provided by PCI core. Hence, remove duplicate check which is
a dead code.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://msgid.link/r/20240530151117.1130792-8-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-pxa2xx.c