Ignore:
File:
1 edited

Legend:

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

    r3c22f70 r7ea7db31  
    726726       
    727727        /* NB: The callback connection is slotted for removal */
    728         sysarg_t taskhash;
    729728        sysarg_t phonehash;
    730         if (ipc_connect_to_me(kbd_phone, SERVICE_CONSOLE, 0, 0, &taskhash,
    731             &phonehash) != 0) {
     729        if (ipc_connect_to_me(kbd_phone, SERVICE_CONSOLE, 0, 0, &phonehash) != 0) {
    732730                printf(NAME ": Failed to create callback from input device\n");
    733731                return false;
    734732        }
    735733       
    736         async_new_connection(taskhash, phonehash, 0, NULL, keyboard_events);
     734        async_new_connection(phonehash, 0, NULL, keyboard_events);
    737735       
    738736        /* Connect to mouse device */
     
    751749        }
    752750       
    753         if (ipc_connect_to_me(mouse_phone, SERVICE_CONSOLE, 0, 0, &taskhash,
    754             &phonehash) != 0) {
     751        if (ipc_connect_to_me(mouse_phone, SERVICE_CONSOLE, 0, 0, &phonehash) != 0) {
    755752                printf(NAME ": Failed to create callback from mouse device\n");
    756753                mouse_phone = -1;
     
    758755        }
    759756       
    760         async_new_connection(taskhash, phonehash, 0, NULL, mouse_events);
     757        async_new_connection(phonehash, 0, NULL, mouse_events);
    761758skip_mouse:
    762759       
Note: See TracChangeset for help on using the changeset viewer.