spi: Remove a redundant test for master->running in spi_queued_transfer
authorAxel Lin <axel.lin@ingics.com>
Thu, 22 Aug 2013 15:41:34 +0000 (23:41 +0800)
committerMark Brown <broonie@linaro.org>
Thu, 22 Aug 2013 18:07:09 +0000 (19:07 +0100)
commit96b3eace39d2ecfdb07003856ddd8f6973dfe7bb
treefdb80b35723b9e7493afc0b9b49b654d2ce6c506
parentb36f4be3de1b123d8601de062e7dbfc904f305fb
spi: Remove a redundant test for master->running in spi_queued_transfer

We have tested master->running immediately after grab the master->queue_lock.
The status of master->running won't be changed until we release the lock.
Thus remove a redundant test for master->running.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi.c