diff options
-rw-r--r-- | drivers/spi/spi-oc-tiny.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/spi/spi-oc-tiny.c b/drivers/spi/spi-oc-tiny.c index f7c896e2981e..4fd2981b3605 100644 --- a/drivers/spi/spi-oc-tiny.c +++ b/drivers/spi/spi-oc-tiny.c | |||
@@ -267,8 +267,6 @@ static int tiny_spi_probe(struct platform_device *pdev) | |||
267 | 267 | ||
268 | /* setup the state for the bitbang driver */ | 268 | /* setup the state for the bitbang driver */ |
269 | hw->bitbang.master = master; | 269 | hw->bitbang.master = master; |
270 | if (!hw->bitbang.master) | ||
271 | return err; | ||
272 | hw->bitbang.setup_transfer = tiny_spi_setup_transfer; | 270 | hw->bitbang.setup_transfer = tiny_spi_setup_transfer; |
273 | hw->bitbang.chipselect = tiny_spi_chipselect; | 271 | hw->bitbang.chipselect = tiny_spi_chipselect; |
274 | hw->bitbang.txrx_bufs = tiny_spi_txrx_bufs; | 272 | hw->bitbang.txrx_bufs = tiny_spi_txrx_bufs; |