Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 05c79b77 authored by Eldad Zack's avatar Eldad Zack Committed by Takashi Iwai
Browse files

ALSA: usb-audio: remove unused endpoint flag EP_FLAG_ACTIVATED



EP_FLAG_ACTIVATED is never tested for, remove it.

Signed-off-by: default avatarEldad Zack <eldad@fogrefinery.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent df23a246
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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);
}

/**