linux_usbfs: Only remove the device fd from the pollfd list once
authorChris Dickens <christopher.a.dickens@gmail.com>
Fri, 18 Sep 2015 05:27:19 +0000 (22:27 -0700)
committerChris Dickens <christopher.a.dickens@gmail.com>
Sun, 20 Sep 2015 21:48:16 +0000 (14:48 -0700)
commiteb532c002bdd3dcd87158d5a09fe92cc89749542
tree61bae3d7cb2861e9741dd57b962351d6b5f8f107
parent6d5ffa0c7f454ae8827f54d81582ffff021709e6
linux_usbfs: Only remove the device fd from the pollfd list once

If the file descriptor gets removed because POLLERR has been
detected, do not attempt to remove it again when closing the device.

Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
libusb/os/linux_usbfs.c
libusb/version_nano.h