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

Changeset 2519349 in mainline


Ignore:
Timestamp:
2018-11-23T17:34:40Z (3 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master
Children:
cf3a905c
Parents:
392f0e7
git-author:
Jiri Svoboda <jiri@…> (2018-11-22 18:34:15)
git-committer:
Jiri Svoboda <jiri@…> (2018-11-23 17:34:40)
Message:

Optimize a bit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/char/ski-con/ski-con.c

    r392f0e7 r2519349  
    269269        uint8_t *dp = (uint8_t *) data;
    270270
    271         for (i = 0; i < size; i++) {
    272                 if (!ski_con_disabled())
     271        if (!ski_con_disabled()) {
     272                for (i = 0; i < size; i++) {
    273273                        ski_con_putchar(con, dp[i]);
     274                }
    274275        }
    275276
Note: See TracChangeset for help on using the changeset viewer.