From: Kuninori Morimoto Date: Wed, 14 Mar 2012 00:19:05 +0000 (-0700) Subject: spi: s3c64xx: remove unnecessary callback msg->complete X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=1afb708b7179d044bcb5d2334b3dc43b375ad728;p=linux-beck.git spi: s3c64xx: remove unnecessary callback msg->complete msg->complete will be called in spi_finalize_current_message(). Signed-off-by: Kuninori Morimoto Reviewed-by: Mark Brown Signed-off-by: Grant Likely --- 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;