Commit 05c79b772f0236b857abf8034d9b0af2ecae901c
Committed by
Takashi Iwai
1 parent
df23a2466a
Exists in
master
and in
16 other branches
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>
Showing 1 changed file with 0 additions and 3 deletions Side-by-side Diff
sound/usb/endpoint.c
... | ... | @@ -33,7 +33,6 @@ |
33 | 33 | #include "pcm.h" |
34 | 34 | #include "quirks.h" |
35 | 35 | |
36 | -#define EP_FLAG_ACTIVATED 0 | |
37 | 36 | #define EP_FLAG_RUNNING 1 |
38 | 37 | #define EP_FLAG_STOPPING 2 |
39 | 38 | |
... | ... | @@ -961,8 +960,6 @@ |
961 | 960 | |
962 | 961 | deactivate_urbs(ep, true); |
963 | 962 | wait_clear_urbs(ep); |
964 | - | |
965 | - clear_bit(EP_FLAG_ACTIVATED, &ep->flags); | |
966 | 963 | } |
967 | 964 | |
968 | 965 | /** |