Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/usbhid/main.c

    r8f8f34ad r5e07e2b5  
    4242
    4343#include <usb/devdrv.h>
     44#include <usb/devpoll.h>
    4445
    4546#include "usbhid.h"
     
    7475static int usb_hid_try_add_device(usb_device_t *dev)
    7576{
    76         assert(dev != NULL);
    77        
    7877        /*
    7978         * Initialize device (get and process descriptors, get address, etc.)
     
    179178        usb_log_debug("usb_hid_add_device()\n");
    180179       
    181         if (dev == NULL) {
    182                 usb_log_warning("Wrong parameter given for add_device().\n");
    183                 return EINVAL;
    184         }
    185        
    186180        if (dev->interface_no < 0) {
    187181                usb_log_warning("Device is not a supported HID device.\n");
Note: See TracChangeset for help on using the changeset viewer.