commit | 730d9d4d11cf48b17d07daaff1f0540642317e09 | [log] [tgz] |
---|---|---|
author | Andi Shyti <andi.shyti@samsung.com> | Tue Jun 28 11:41:14 2016 +0900 |
committer | Mark Brown <broonie@kernel.org> | Wed Jun 29 22:45:23 2016 +0100 |
tree | 603313185f16595a8a7d83fb294fa0be1fdddc6b | |
parent | 11f66f0927bd044c17b2c2884d5103f8eb6cab38 [diff] |
spi: s3c64xx: simplify if statement in prepare_transfer function The whole function is inside an 'if' statement ("!is_polling(sdd)"). Check the opposite of that statement at the beginning and exit, this way we can have one level less of indentation. Remove the goto paths as they are redundant. Signed-off-by: Andi Shyti <andi.shyti@samsung.com> Signed-off-by: Mark Brown <broonie@kernel.org>