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-Tag: upstream/snapshot3+hdmi~3891^2~143 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=05c79b772f0236b857abf8034d9b0af2ecae901c;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.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 e25e32a..b9ba0fc 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); } /**