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

Changeset af0a2c7 in mainline


Ignore:
Timestamp:
2014-08-29T20:37:26Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master
Children:
f93ba6d
Parents:
75751db6
Message:

Fix accidentally commited debugging code.

Location:
uspace
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/Makefile.common

    r75751db6 raf0a2c7  
    195195
    196196ifeq ($(CONFIG_OPTIMIZE_FOR_SIZE),y)
    197         OPTIMIZATION = 0
    198 else
    199         OPTIMIZATION = 0
     197        OPTIMIZATION = s
     198else
     199        OPTIMIZATION = 3
    200200endif
    201201
  • uspace/drv/char/pl050/pl050.c

    r75751db6 raf0a2c7  
    141141        size_t nidx;
    142142
    143         ddf_msg(LVL_NOTE, "Interrupt");
    144 
    145143        fibril_mutex_lock(&pl050->buf_lock);
    146144        nidx = (pl050->buf_wp + 1) % buffer_size;
     
    257255        int rc;
    258256
    259         ddf_msg(LVL_NOTE, "pl050_dev_add()");
     257        ddf_msg(LVL_DEBUG, "pl050_dev_add()");
    260258
    261259        pl050 = ddf_dev_data_alloc(dev, sizeof(pl050_t));
     
    276274        pl050->dev = dev;
    277275
    278 if (1) {
    279276        rc = pl050_init(pl050);
    280277        if (rc != EOK)
    281278                goto error;
    282 }
     279
    283280        rc = ddf_fun_add_match_id(fun_a, "char/xtkbd", 10);
    284281        if (rc != EOK) {
     
    288285        }
    289286
    290         ddf_msg(LVL_NOTE, "Init srvs");
    291         if (1) {
     287
    292288        chardev_srvs_init(&pl050->cds);
    293289        pl050->cds.ops = &pl050_chardev_ops;
     
    295291
    296292        ddf_fun_set_conn_handler(fun_a, pl050_char_conn);
    297 }
     293
    298294        rc = ddf_fun_bind(fun_a);
    299295        if (rc != EOK) {
     
    303299        }
    304300
    305         ddf_msg(LVL_NOTE, "Device added");
    306301        ddf_msg(LVL_DEBUG, "Device added.");
    307302        return EOK;
Note: See TracChangeset for help on using the changeset viewer.