diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2016-07-04 12:44:26 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-07-04 16:13:42 +0200 |
commit | 21ddba19ce851d322172a1f006d27e4f6ff3059d (patch) | |
tree | aa3afb677ebb16016776d511566d37208adf3c78 /drivers/spi/spi-txx9.c | |
parent | 4f4709109ef7e1248b5515c68df4b9c5ad39fbdf (diff) |
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>
Diffstat (limited to 'drivers/spi/spi-txx9.c')
0 files changed, 0 insertions, 0 deletions