Re: [PATCH] davinci: simplify if-statement

2010-11-12 Thread Kevin Hilman
Nicolas Kaiser ni...@nikai.net writes: A common do-while loop can be factored out from the end of the branches. Signed-off-by: Nicolas Kaiser ni...@nikai.net Applied, queueing for 2.6.38. Kevin --- arch/arm/mach-davinci/psc.c | 13 - 1 files changed, 4 insertions(+), 9

[PATCH] davinci: simplify if-statement

2010-10-25 Thread Nicolas Kaiser
A common do-while loop can be factored out from the end of the branches. Signed-off-by: Nicolas Kaiser ni...@nikai.net --- arch/arm/mach-davinci/psc.c | 13 - 1 files changed, 4 insertions(+), 9 deletions(-) diff --git a/arch/arm/mach-davinci/psc.c b/arch/arm/mach-davinci/psc.c