usb_drv: Remove signaling in wait_event_timeout

With the server framework this becomes unnecessary. Also when the 'platform_drv'
has a lower priority, signaling will cause a constant load that starves the
'platform_drv'.

Fixes #1594
This commit is contained in:
Sebastian Sumpf 2015-06-18 14:17:33 +02:00 committed by Christian Helmuth
parent e143084b04
commit d80c1c91be
1 changed files with 0 additions and 2 deletions

View File

@ -181,8 +181,6 @@ __wait_completion_timeout(struct completion *work, unsigned long timeout)
{
unsigned long _j = jiffies + timeout;
while (!work->done) {
/* send signal */
Event_context::e()->submit();
__wait_event();
if (_j <= jiffies) {