Fix checkpatch issue - ERROR:TRAILING_STATEMENTS

This commit fixes the coding style of the 'if', 'do', 'while' and 'for'
statements in order to comply with the defined coding style.

Signed-off-by: Yonattan Louise <yonattan.a.louise.mendoza@linux.intel.com>
Change-Id: I70d002462db48f36b9589cdb229ba928f3f424b4
This commit is contained in:
Yonattan Louise 2015-04-07 11:30:57 -05:00 committed by Anas Nashif
parent 46aad9be1d
commit 6201e1e5a9

View file

@ -116,9 +116,11 @@ void main (void)
nano_task_sem_take(&sem[1]) ||
nano_task_sem_take(&sem[2]) ? TC_FAIL : TC_PASS;
if (TC_FAIL == rv) goto get_out;
if (TC_FAIL == rv)
goto get_out;
for (int ii = 0; ii < 3; ii++) _NvicSwInterruptTrigger(ii);
for (int ii = 0; ii < 3; ii++)
_NvicSwInterruptTrigger(ii);
rv = nano_task_sem_take(&sem[0]) &&
nano_task_sem_take(&sem[1]) &&