Ignore:
Timestamp:
2011-04-29T13:13:36Z (14 years ago)
Author:
Lubos Slovak <lubos.slovak@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
30710035
Parents:
890961a
Message:

Minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/usbhid/lgtch-ultrax/lgtch-ultrax.c

    r890961a re67399e  
    356356        int rc = usb_hid_parse_report(hid_dev->report, buffer, buffer_size,
    357357            &report_id);
     358       
     359        if (rc != EOK) {
     360                usb_log_warning(NAME "Error in usb_hid_parse_report(): %s\n",
     361                    str_error(rc));
     362                return true;
     363        }
     364       
    358365        usb_hid_report_path_set_report_id(path, report_id);
    359366
     
    383390        usb_hid_report_path_free(path);
    384391       
    385         if (rc != EOK) {
    386                 usb_log_warning(NAME "Error in usb_hid_boot_keyboard_input_report():"
    387                     "%s\n", str_error(rc));
    388         }
    389        
    390392        return true;
    391393}
Note: See TracChangeset for help on using the changeset viewer.