mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	topology: Add missing ATTRIBUTE_UNUSED
... to shut up the compiler warnings.
Fixes: b6c9afb4f5 ("topology: implement snd_tplg_decode")
Signed-off-by: Takashi Iwai <tiwai@suse.de>
			
			
This commit is contained in:
		
							parent
							
								
									fa2f20b71e
								
							
						
					
					
						commit
						750a3d9fd8
					
				
					 1 changed files with 10 additions and 8 deletions
				
			
		| 
						 | 
				
			
			@ -2053,20 +2053,22 @@ next:
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
/* decode dai from the binary input */
 | 
			
		||||
int tplg_decode_dai(snd_tplg_t *tplg,
 | 
			
		||||
		    size_t pos,
 | 
			
		||||
		    struct snd_soc_tplg_hdr *hdr,
 | 
			
		||||
		    void *bin, size_t size)
 | 
			
		||||
int tplg_decode_dai(snd_tplg_t *tplg ATTRIBUTE_UNUSED,
 | 
			
		||||
		    size_t pos ATTRIBUTE_UNUSED,
 | 
			
		||||
		    struct snd_soc_tplg_hdr *hdr ATTRIBUTE_UNUSED,
 | 
			
		||||
		    void *bin ATTRIBUTE_UNUSED,
 | 
			
		||||
		    size_t size ATTRIBUTE_UNUSED)
 | 
			
		||||
{
 | 
			
		||||
	SNDERR("not implemented");
 | 
			
		||||
	return -ENXIO;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* decode cc from the binary input */
 | 
			
		||||
int tplg_decode_cc(snd_tplg_t *tplg,
 | 
			
		||||
		   size_t pos,
 | 
			
		||||
		   struct snd_soc_tplg_hdr *hdr,
 | 
			
		||||
		   void *bin, size_t size)
 | 
			
		||||
int tplg_decode_cc(snd_tplg_t *tplg ATTRIBUTE_UNUSED,
 | 
			
		||||
		   size_t pos ATTRIBUTE_UNUSED,
 | 
			
		||||
		   struct snd_soc_tplg_hdr *hdr ATTRIBUTE_UNUSED,
 | 
			
		||||
		   void *bin ATTRIBUTE_UNUSED,
 | 
			
		||||
		   size_t size ATTRIBUTE_UNUSED)
 | 
			
		||||
{
 | 
			
		||||
	SNDERR("not implemented");
 | 
			
		||||
	return -ENXIO;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue