mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-19 05:04:20 +00:00
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
1 changed files with 0 additions and 3 deletions
|
@ -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)
|
||||||
|
|
||||||
deactivate_urbs(ep, true);
|
deactivate_urbs(ep, true);
|
||||||
wait_clear_urbs(ep);
|
wait_clear_urbs(ep);
|
||||||
|
|
||||||
clear_bit(EP_FLAG_ACTIVATED, &ep->flags);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue