aboutsummaryrefslogtreecommitdiffstats
path: root/sound/usb
diff options
context:
space:
mode:
authorEldad Zack <eldad@fogrefinery.com>2013-10-06 16:31:17 -0400
committerTakashi Iwai <tiwai@suse.de>2013-10-07 05:22:43 -0400
commit05c79b772f0236b857abf8034d9b0af2ecae901c (patch)
tree470a97df0575c64df90650b9a88e5462a5d627f6 /sound/usb
parentdf23a2466a4961092625b487ead60f526e401062 (diff)
ALSA: usb-audio: remove unused endpoint flag EP_FLAG_ACTIVATED
EP_FLAG_ACTIVATED is never tested for, remove it. Signed-off-by: Eldad Zack <eldad@fogrefinery.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb')
-rw-r--r--sound/usb/endpoint.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/usb/endpoint.c b/sound/usb/endpoint.c
index e25e32a8824d..b9ba0fcc45df 100644
--- a/sound/usb/endpoint.c
+++ b/sound/usb/endpoint.c
@@ -33,7 +33,6 @@
33#include "pcm.h" 33#include "pcm.h"
34#include "quirks.h" 34#include "quirks.h"
35 35
36#define EP_FLAG_ACTIVATED 0
37#define EP_FLAG_RUNNING 1 36#define EP_FLAG_RUNNING 1
38#define EP_FLAG_STOPPING 2 37#define EP_FLAG_STOPPING 2
39 38
@@ -961,8 +960,6 @@ void snd_usb_endpoint_deactivate(struct snd_usb_endpoint *ep)
961 960
962 deactivate_urbs(ep, true); 961 deactivate_urbs(ep, true);
963 wait_clear_urbs(ep); 962 wait_clear_urbs(ep);
964
965 clear_bit(EP_FLAG_ACTIVATED, &ep->flags);
966} 963}
967 964
968/** 965/**