summaryrefslogtreecommitdiff
path: root/crypto/api.c
diff options
context:
space:
mode:
authorAndi Shyti <andi.shyti@samsung.com>2016-06-28 05:41:14 +0300
committerMark Brown <broonie@kernel.org>2016-06-30 00:45:23 +0300
commit730d9d4d11cf48b17d07daaff1f0540642317e09 (patch)
tree603313185f16595a8a7d83fb294fa0be1fdddc6b /crypto/api.c
parent11f66f0927bd044c17b2c2884d5103f8eb6cab38 (diff)
downloadlinux-730d9d4d11cf48b17d07daaff1f0540642317e09.tar.xz
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>
Diffstat (limited to 'crypto/api.c')
0 files changed, 0 insertions, 0 deletions