summaryrefslogtreecommitdiffstats
path: root/drivers/spi
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2012-03-14 01:19:05 +0100
committerGrant Likely <grant.likely@secretlab.ca>2012-03-15 10:31:38 +0100
commit1afb708b7179d044bcb5d2334b3dc43b375ad728 (patch)
tree49b887eba3456a339df3470cc5327396f026d978 /drivers/spi
parentspi: remove redundant variable assignment (diff)
downloadlinux-1afb708b7179d044bcb5d2334b3dc43b375ad728.tar.xz
linux-1afb708b7179d044bcb5d2334b3dc43b375ad728.zip
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.c3
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:
msg->status = status;
- if (msg->complete)
- msg->complete(msg->context);
-
spi_finalize_current_message(master);
return 0;