Changeset 1de97fe6 in mainline for uspace/drv/bus/isa/isa.c


Ignore:
Timestamp:
2012-08-17T17:56:37Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
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.