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>
This commit is contained in:
parent
df23a2466a
commit
05c79b772f
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue