[PATCH] ALSA: usb-audio: Remove the repeated declaration

Shaokun Zhang zhangshaokun at hisilicon.com
Sat May 29 11:02:06 CEST 2021


Function 'snd_usb_endpoint_suspend' is declared twice, so remove the
repeated declaration.

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

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,
-- 
2.7.4



More information about the Alsa-devel mailing list