diff mbox series

ALSA: usb-audio: Remove the repeated declaration

Message ID 1622278926-63857-1-git-send-email-zhangshaokun@hisilicon.com
State Accepted
Commit 19307193e5dd6edeb2bafa42d9354cd327df0b22
Headers show
Series ALSA: usb-audio: Remove the repeated declaration | expand

Commit Message

Shaokun Zhang May 29, 2021, 9:02 a.m. UTC
Function 'snd_usb_endpoint_suspend' is declared twice, so remove the
repeated declaration.

Cc: Jaroslav Kysela <perex@perex.cz>
Cc: Takashi Iwai <tiwai@suse.com>
Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
---
 sound/usb/endpoint.h | 1 -
 1 file changed, 1 deletion(-)

Comments

Takashi Iwai May 30, 2021, 7:31 a.m. UTC | #1
On Sat, 29 May 2021 11:02:06 +0200,
Shaokun Zhang wrote:
> 
> Function 'snd_usb_endpoint_suspend' is declared twice, so remove the
> repeated declaration.
> 
> Cc: Jaroslav Kysela <perex@perex.cz>
> Cc: Takashi Iwai <tiwai@suse.com>
> Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>

Thanks, applied.


Takashi
diff mbox series

Patch

diff --git a/sound/usb/endpoint.h b/sound/usb/endpoint.h
index eea4ca49876d..a668f675b52b 100644
--- a/sound/usb/endpoint.h
+++ b/sound/usb/endpoint.h
@@ -19,7 +19,6 @@  void snd_usb_endpoint_close(struct snd_usb_audio *chip,
 			    struct snd_usb_endpoint *ep);
 int snd_usb_endpoint_configure(struct snd_usb_audio *chip,
 			       struct snd_usb_endpoint *ep);
-void snd_usb_endpoint_suspend(struct snd_usb_endpoint *ep);
 
 bool snd_usb_endpoint_compatible(struct snd_usb_audio *chip,
 				 struct snd_usb_endpoint *ep,