Skip to content

Commit

Permalink
spi: s3c64xx: remove unnecessary callback msg->complete
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kuninori Morimoto authored and Grant Likely committed Mar 15, 2012
1 parent a66590d commit 1afb708
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/spi/spi-s3c64xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -764,9 +764,6 @@ static int s3c64xx_spi_transfer_one_message(struct spi_master *master,

msg->status = status;

if (msg->complete)
msg->complete(msg->context);

spi_finalize_current_message(master);

return 0;
Expand Down

0 comments on commit 1afb708

Please sign in to comment.