summaryrefslogtreecommitdiffstats
path: root/sound/usb
diff options
context:
space:
mode:
authorEldad Zack <eldad@fogrefinery.com>2013-10-06 22:31:17 +0200
committerTakashi Iwai <tiwai@suse.de>2013-10-07 11:22:43 +0200
commit05c79b772f0236b857abf8034d9b0af2ecae901c (patch)
tree470a97df0575c64df90650b9a88e5462a5d627f6 /sound/usb
parentdf23a2466a4961092625b487ead60f526e401062 (diff)
downloadlinux-05c79b772f0236b857abf8034d9b0af2ecae901c.tar.bz2
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 @@
#include "pcm.h"
#include "quirks.h"
-#define EP_FLAG_ACTIVATED 0
#define EP_FLAG_RUNNING 1
#define EP_FLAG_STOPPING 2
@@ -961,8 +960,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);
}
/**