diff options
author | Eldad Zack <eldad@fogrefinery.com> | 2013-10-06 20:31:17 (GMT) |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-10-07 09:22:43 (GMT) |
commit | 05c79b772f0236b857abf8034d9b0af2ecae901c (patch) | |
tree | 470a97df0575c64df90650b9a88e5462a5d627f6 | |
parent | df23a2466a4961092625b487ead60f526e401062 (diff) | |
download | linux-05c79b772f0236b857abf8034d9b0af2ecae901c.tar.xz |
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>
-rw-r--r-- | sound/usb/endpoint.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/usb/endpoint.c b/sound/usb/endpoint.c index e25e32a..b9ba0fc 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); } /** |