spi: s3c64xx: remove unnecessary callback msg->complete
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 14 Mar 2012 00:19:05 +0000 (17:19 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Thu, 15 Mar 2012 09:31:38 +0000 (03:31 -0600)
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>
drivers/spi/spi-s3c64xx.c

index c40d118..c5e5aab 100644 (file)
@@ -764,9 +764,6 @@ out:
 
        msg->status = status;
 
-       if (msg->complete)
-               msg->complete(msg->context);
-
        spi_finalize_current_message(master);
 
        return 0;