Changeset 195b7b3 in mainline for uspace/srv/hid/display/display.c


Ignore:
Timestamp:
2020-06-22T15:25:48Z (4 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c8e1f93
Parents:
5271e4c
Message:

Clean up debug messages and logging

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/display/display.c

    r5271e4c r195b7b3  
    208208 * @param id Window ID
    209209 */
    210 #include <stdio.h>
    211210ds_window_t *ds_display_find_window(ds_display_t *display, ds_wnd_id_t id)
    212211{
     
    214213        ds_window_t *wnd;
    215214
    216         printf("ds_display_find_window: id=0x%x\n", (unsigned) id);
    217 
    218215        client = ds_display_first_client(display);
    219216        while (client != NULL) {
    220                 printf("ds_display_find_window: client=%p\n", client);
    221217                wnd = ds_client_find_window(client, id);
    222                 if (wnd != NULL) {
    223                         printf("ds_display_find_window: found wnd=%p id=0x%x\n",
    224                             wnd, (unsigned) wnd->id);
     218                if (wnd != NULL)
    225219                        return wnd;
    226                 }
     220
    227221                client = ds_display_next_client(client);
    228222        }
    229223
    230         printf("ds_display_find_window: not found\n");
    231224        return NULL;
    232225}
Note: See TracChangeset for help on using the changeset viewer.