diff options
Diffstat (limited to 'tools/usb/usbip')
| -rw-r--r-- | tools/usb/usbip/.gitignore | 4 | ||||
| -rw-r--r-- | tools/usb/usbip/src/usbipd.c | 7 | 
2 files changed, 4 insertions, 7 deletions
| diff --git a/tools/usb/usbip/.gitignore b/tools/usb/usbip/.gitignore index 9aad9e30a8ba..03b892c8bd8c 100644 --- a/tools/usb/usbip/.gitignore +++ b/tools/usb/usbip/.gitignore @@ -2,6 +2,7 @@ Makefile  Makefile.in  aclocal.m4  autom4te.cache/ +compile  config.guess  config.h  config.h.in @@ -21,7 +22,10 @@ src/Makefile.in  stamp-h1  libsrc/libusbip.la  libsrc/libusbip_la-names.lo +libsrc/libusbip_la-sysfs_utils.lo  libsrc/libusbip_la-usbip_common.lo +libsrc/libusbip_la-usbip_device_driver.lo +libsrc/libusbip_la-usbip_host_common.lo  libsrc/libusbip_la-usbip_host_driver.lo  libsrc/libusbip_la-vhci_driver.lo  src/usbip diff --git a/tools/usb/usbip/src/usbipd.c b/tools/usb/usbip/src/usbipd.c index a0972dea9e6c..009afb4a3aae 100644 --- a/tools/usb/usbip/src/usbipd.c +++ b/tools/usb/usbip/src/usbipd.c @@ -398,13 +398,6 @@ static int listen_all_addrinfo(struct addrinfo *ai_head, int sockfdlist[],  		 * (see do_standalone_mode()) */  		usbip_net_set_v6only(sock); -		if (sock >= FD_SETSIZE) { -			err("FD_SETSIZE: %s: sock=%d, max=%d", -			    ai_buf, sock, FD_SETSIZE); -			close(sock); -			continue; -		} -  		ret = bind(sock, ai->ai_addr, ai->ai_addrlen);  		if (ret < 0) {  			err("bind: %s: %d (%s)", |