# Re: cleanup of hiddev

- From: Jiri Slaby \<hidden\>
- Date: 2008-11-04 15:19:57 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2008/11/8910372
- Thread: https://ratatoskr.run/linux-input/2008/11/8910372/t.md

```text
Oliver Neukum napsal(a):
> Am Montag, 3. November 2008 20:58:11 schrieb Jiri Slaby:
>>> @@ -828,6 +828,14 @@ int hiddev_connect(struct hid_device *hid, unsigned int force)
>>>  
>>>  	hiddev_table[usbhid->intf->minor - HIDDEV_MINOR_BASE] = hiddev;
>> usbhid->intf->minor is set even after this call:
> 
> What does this mean?

You removed the usb_register_dev() call when replying. It sets the
intf->minor, but you use it above it now.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
```
