Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 1de97fe6 in mainline


Ignore:
Timestamp:
2012-08-17T17:56:37Z (9 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master
Children:
3d4ad475
Parents:
82e4005
Message:

isa: integrate condition into the loop instead of using break.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/isa/isa.c

    r82e4005 r1de97fe6  
    527527
    528528        /* Skip empty lines. */
    529         while (true) {
     529        do {
    530530                line = str_get_line(fun_conf, &fun_conf);
    531531
     
    535535                }
    536536
    537                 if (!line_empty(line))
    538                         break;
    539         }
     537        } while (line_empty(line));
    540538
    541539        /* Get device name. */
Note: See TracChangeset for help on using the changeset viewer.