diff options
author | Eldad Zack <eldad@fogrefinery.com> | 2013-10-06 22:31:17 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-10-07 11:22:43 +0200 |
commit | 05c79b772f0236b857abf8034d9b0af2ecae901c (patch) | |
tree | 470a97df0575c64df90650b9a88e5462a5d627f6 /sound/usb/endpoint.c | |
parent | ALSA: usb-audio: rename alt_idx to altsetting (diff) | |
download | linux-05c79b772f0236b857abf8034d9b0af2ecae901c.tar.xz linux-05c79b772f0236b857abf8034d9b0af2ecae901c.zip |
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/endpoint.c')
-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 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); } /** |