Skip to content

Commit 05c79b7

Browse files
eldadtiwai
authored andcommitted
ALSA: usb-audio: remove unused endpoint flag EP_FLAG_ACTIVATED
EP_FLAG_ACTIVATED is never tested for, remove it. Signed-off-by: Eldad Zack <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
1 parent df23a24 commit 05c79b7

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

sound/usb/endpoint.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
#include "pcm.h"
3434
#include "quirks.h"
3535

36-
#define EP_FLAG_ACTIVATED 0
3736
#define EP_FLAG_RUNNING 1
3837
#define EP_FLAG_STOPPING 2
3938

@@ -961,8 +960,6 @@ void snd_usb_endpoint_deactivate(struct snd_usb_endpoint *ep)
961960

962961
deactivate_urbs(ep, true);
963962
wait_clear_urbs(ep);
964-
965-
clear_bit(EP_FLAG_ACTIVATED, &ep->flags);
966963
}
967964

968965
/**

0 commit comments

Comments
 (0)