USB: remove iteration limit in hub_tt_work()
authorAlan Stern <stern@rowland.harvard.edu>
Wed, 31 Oct 2012 17:09:07 +0000 (13:09 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Oct 2012 19:48:07 +0000 (12:48 -0700)
commit571e41214e988bc38c99d804e6d8e1ea1d016342
treec315586964c078a72d4dfd18c966ca4514eedc8f
parentbcbec053d2197031d04b8e040c61695b5d7a949d
USB: remove iteration limit in hub_tt_work()

This patch (as1621) removes the limit on the number of loops allowed
in hub_tt_work().  The value is arbitrary, and it's silly to have a
limit in the first place -- anything beyond the limit would not get
handled.

Besides, it's most unlikely that we'll ever need to clear more than a
couple of TT buffers at any time.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/hub.c