提交 05c79b77 编写于 作者: E Eldad Zack 提交者: Takashi Iwai

ALSA: usb-audio: remove unused endpoint flag EP_FLAG_ACTIVATED

EP_FLAG_ACTIVATED is never tested for, remove it.
Signed-off-by: NEldad Zack <eldad@fogrefinery.com>
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
上级 df23a246
...@@ -33,7 +33,6 @@ ...@@ -33,7 +33,6 @@
#include "pcm.h" #include "pcm.h"
#include "quirks.h" #include "quirks.h"
#define EP_FLAG_ACTIVATED 0
#define EP_FLAG_RUNNING 1 #define EP_FLAG_RUNNING 1
#define EP_FLAG_STOPPING 2 #define EP_FLAG_STOPPING 2
...@@ -961,8 +960,6 @@ void snd_usb_endpoint_deactivate(struct snd_usb_endpoint *ep) ...@@ -961,8 +960,6 @@ void snd_usb_endpoint_deactivate(struct snd_usb_endpoint *ep)
deactivate_urbs(ep, true); deactivate_urbs(ep, true);
wait_clear_urbs(ep); wait_clear_urbs(ep);
clear_bit(EP_FLAG_ACTIVATED, &ep->flags);
} }
/** /**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册