From a0a91475d1c43e8d81d01f28b45f49cb9afb95ce Mon Sep 17 00:00:00 2001 From: Christian Prochaska Date: Thu, 22 Aug 2013 21:36:07 +0200 Subject: [PATCH] dde_linux: remove superfluous 'msleep()' calls Fixes #860. --- dde_linux/src/lib/usb/include/lx_emul.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/dde_linux/src/lib/usb/include/lx_emul.h b/dde_linux/src/lib/usb/include/lx_emul.h index e9dd5a8852..ce4445173f 100644 --- a/dde_linux/src/lib/usb/include/lx_emul.h +++ b/dde_linux/src/lib/usb/include/lx_emul.h @@ -1085,8 +1085,6 @@ void __wait_event(void); #define _wait_event(condition) \ while(!(condition)) { \ __wait_event(); \ - if (!(condition)) \ - msleep(1); \ } \ #define wait_event(wq, condition) \ @@ -1100,7 +1098,6 @@ void __wait_event(void); __wait_event(); \ if (condition || _j <= jiffies) \ break; \ - msleep(1); \ } \ })