spi: pxa2xx-pci: Remove unused code
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 4 Jul 2016 09:44:26 +0000 (12:44 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 4 Jul 2016 14:13:42 +0000 (16:13 +0200)
commit21ddba19ce851d322172a1f006d27e4f6ff3059d
treeaa3afb677ebb16016776d511566d37208adf3c78
parent4f4709109ef7e1248b5515c68df4b9c5ad39fbdf
spi: pxa2xx-pci: Remove unused code

pcim_iomap_table() can't fail when called after pcim_iomap_regions(). Moreover,
we already dereference returned value and kernel will crash if it is not
correct.

Remove obvious leftover of commit 0202775bc3a2 ("spi/pxa2xx-pci: switch to use
pcim_* interfaces").

Cc: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-pxa2xx-pci.c