From: Eldad Zack Date: Sun, 6 Oct 2013 20:31:17 +0000 (+0200) Subject: ALSA: usb-audio: remove unused endpoint flag EP_FLAG_ACTIVATED X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=05c79b772f0236b857abf8034d9b0af2ecae901c;p=linux-beck.git ALSA: usb-audio: remove unused endpoint flag EP_FLAG_ACTIVATED EP_FLAG_ACTIVATED is never tested for, remove it. Signed-off-by: Eldad Zack Signed-off-by: Takashi Iwai --- diff --git a/sound/usb/endpoint.c b/sound/usb/endpoint.c index e25e32a8824d..b9ba0fcc45df 100644 --- 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); } /**