6 Oct
2013
6 Oct
'13
10:31 p.m.
EP_FLAG_ACTIVATED is never tested for, remove it.
Signed-off-by: Eldad Zack eldad@fogrefinery.com --- sound/usb/endpoint.c | 3 --- 1 file changed, 3 deletions(-)
diff --git a/sound/usb/endpoint.c b/sound/usb/endpoint.c index 6cb3137..8379989 100644 --- a/sound/usb/endpoint.c +++ b/sound/usb/endpoint.c @@ -33,7 +33,6 @@ #include "pcm.h" #include "quirks.h"
-#define EP_FLAG_ACTIVATED 0 #define EP_FLAG_RUNNING 1 #define EP_FLAG_STOPPING 2
@@ -1020,8 +1019,6 @@ void snd_usb_endpoint_deactivate(struct snd_usb_endpoint *ep)
deactivate_urbs(ep, true); wait_clear_urbs(ep); - - clear_bit(EP_FLAG_ACTIVATED, &ep->flags); }
/**
--
1.8.1.5