linux_usbfs: Extract device handle initialization from op_open()
authorVianney le Clément de Saint-Marcq <code@quartic.eu>
Tue, 13 Dec 2016 14:32:39 +0000 (15:32 +0100)
committerNathan Hjelm <hjelmn@me.com>
Wed, 9 Jan 2019 01:20:17 +0000 (18:20 -0700)
commit1f22d799b4602b7b51424d7c28a7ffbfd4de8362
tree82670f391fe756b3ac3cd673a18ed62634c6a08a
parent8924661f47f55c1443f2d893fa9a2a242322e294
linux_usbfs: Extract device handle initialization from op_open()

Slightly refactor op_open() to extract the device handle initialization
code into a new initialize_handle() function, similar to the
initialize_device() function.

Signed-off-by: Vianney le Clément de Saint-Marcq <code@quartic.eu>
Signed-off-by: Nathan Hjelm <hjelmn@me.com>
libusb/os/linux_usbfs.c
libusb/version_nano.h