aboutsummaryrefslogtreecommitdiff
path: root/tools/lib/api/fd/array.c
diff options
context:
space:
mode:
authorAndi Shyti <andi.shyti@samsung.com>2016-06-28 11:41:14 +0900
committerMark Brown <broonie@kernel.org>2016-06-29 22:45:23 +0100
commit730d9d4d11cf48b17d07daaff1f0540642317e09 (patch)
tree603313185f16595a8a7d83fb294fa0be1fdddc6b /tools/lib/api/fd/array.c
parent11f66f0927bd044c17b2c2884d5103f8eb6cab38 (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>
Diffstat (limited to 'tools/lib/api/fd/array.c')
0 files changed, 0 insertions, 0 deletions