spi/bitbang: avoid needless loop flow manipulations
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Mon, 21 May 2012 11:25:13 +0000 (13:25 +0200)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 14 Nov 2012 15:38:15 +0000 (15:38 +0000)
commitb82b576bc7ffb9785ad3248825ab20496b018e0c
treedc9ec25933ce901ed28ff29e309bc2aa5674b4f4
parent77b67063bb6bce6d475e910d3b886a606d0d91f7
spi/bitbang: avoid needless loop flow manipulations

This patch makes a loop look cleaner by replacing a "break" and a "continue"
in its body by a single "if".

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/spi-bitbang.c