projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df23a24
)
ALSA: usb-audio: remove unused endpoint flag EP_FLAG_ACTIVATED
author
Eldad Zack
<eldad@fogrefinery.com>
Sun, 6 Oct 2013 20:31:17 +0000
(22:31 +0200)
committer
Takashi Iwai
<tiwai@suse.de>
Mon, 7 Oct 2013 09:22:43 +0000
(11:22 +0200)
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>
sound/usb/endpoint.c
patch
|
blob
|
history
diff --git
a/sound/usb/endpoint.c
b/sound/usb/endpoint.c
index e25e32a8824d36dc8569dc92ed6dec7d14470578..b9ba0fcc45df10d4151bb39f8a5d6284dc8ec23e 100644
(file)
--- 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);
}
/**