Skip to content

Commit

Permalink
ALSA: usb-audio: remove unused endpoint flag EP_FLAG_ACTIVATED
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Eldad Zack authored and Takashi Iwai committed Oct 7, 2013
1 parent df23a24 commit 05c79b7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions sound/usb/endpoint.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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);
}

/**
Expand Down

0 comments on commit 05c79b7

Please sign in to comment.