diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2012-03-13 20:19:05 -0400 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2012-03-15 05:31:38 -0400 |
commit | 1afb708b7179d044bcb5d2334b3dc43b375ad728 (patch) | |
tree | 49b887eba3456a339df3470cc5327396f026d978 /drivers/spi | |
parent | a66590de86483eeefc3074ab1ba1a7f45a89308e (diff) |
spi: s3c64xx: remove unnecessary callback msg->complete
msg->complete will be called in spi_finalize_current_message().
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/spi-s3c64xx.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c index c40d1184a99d..c5e5aab98f28 100644 --- a/drivers/spi/spi-s3c64xx.c +++ b/drivers/spi/spi-s3c64xx.c | |||
@@ -764,9 +764,6 @@ out: | |||
764 | 764 | ||
765 | msg->status = status; | 765 | msg->status = status; |
766 | 766 | ||
767 | if (msg->complete) | ||
768 | msg->complete(msg->context); | ||
769 | |||
770 | spi_finalize_current_message(master); | 767 | spi_finalize_current_message(master); |
771 | 768 | ||
772 | return 0; | 769 | return 0; |