Re: [PATCH RFC] comedi: rtd520: if condition with no effect - if identical to else

2015-01-19 Thread Ian Abbott
On 18/01/15 11:53, Nicholas Mc Guire wrote: The if and the else branch code are identical - so the condition has no effect on the effective code - this patch removes the condition and the duplicated code. Signed-off-by: Nicholas Mc Guire der.h...@hofr.at --- Patch is against 3.19.0-rc4

[PATCH RFC] comedi: rtd520: if condition with no effect - if identical to else

2015-01-18 Thread Nicholas Mc Guire
The if and the else branch code are identical - so the condition has no effect on the effective code - this patch removes the condition and the duplicated code. Signed-off-by: Nicholas Mc Guire der.h...@hofr.at --- Patch is against 3.19.0-rc4 -next-20150116 This patch was only compile tested