On 17/04/18 04:40, Victor Toso wrote:
> From: Victor Toso
>
> The 'end' label is used only once and can be replaced by moving the
> code into the existing 'if (!devices)'.
>
> For convenience this patch also:
> * Explicit check against NULL
> * Added curly brackets to the moved 'for'
> * Moved v
From: Victor Toso
The 'end' label is used only once and can be replaced by moving the
code into the existing 'if (!devices)'.
For convenience this patch also:
* Explicit check against NULL
* Added curly brackets to the moved 'for'
* Moved variable 'i' to inner scope
Signed-off-by: Victor Toso