diff options
Diffstat (limited to 'drivers/spi/spi-oc-tiny.c')
-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 022774e158f1..8998d11c7238 100644 --- a/drivers/spi/spi-oc-tiny.c +++ b/drivers/spi/spi-oc-tiny.c | |||
@@ -266,8 +266,6 @@ static int tiny_spi_probe(struct platform_device *pdev) | |||
266 | 266 | ||
267 | /* setup the state for the bitbang driver */ | 267 | /* setup the state for the bitbang driver */ |
268 | hw->bitbang.master = master; | 268 | hw->bitbang.master = master; |
269 | if (!hw->bitbang.master) | ||
270 | return err; | ||
271 | hw->bitbang.setup_transfer = tiny_spi_setup_transfer; | 269 | hw->bitbang.setup_transfer = tiny_spi_setup_transfer; |
272 | hw->bitbang.chipselect = tiny_spi_chipselect; | 270 | hw->bitbang.chipselect = tiny_spi_chipselect; |
273 | hw->bitbang.txrx_bufs = tiny_spi_txrx_bufs; | 271 | hw->bitbang.txrx_bufs = tiny_spi_txrx_bufs; |