mirror of
				git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
				synced 2025-10-31 08:44:41 +00:00 
			
		
		
		
	ALSA: usb-audio: remove some dead code
We recently cleaned up the error handling in commit52c3e317a8("ALSA: usb-audio: Unify the release of usb_mixer_elem_info objects") but accidentally left this stray return. Fixes:52c3e317a8("ALSA: usb-audio: Unify the release of usb_mixer_elem_info objects") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
		
							parent
							
								
									60849562a5
								
							
						
					
					
						commit
						b39e077fcb
					
				
					 1 changed files with 0 additions and 1 deletions
				
			
		|  | @ -2651,7 +2651,6 @@ static int parse_audio_selector_unit(struct mixer_build *state, int unitid, | |||
| 		usb_audio_err(state->chip, "cannot malloc kcontrol\n"); | ||||
| 		err = -ENOMEM; | ||||
| 		goto error_name; | ||||
| 		return -ENOMEM; | ||||
| 	} | ||||
| 	kctl->private_value = (unsigned long)namelist; | ||||
| 	kctl->private_free = usb_mixer_selector_elem_free; | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Dan Carpenter
						Dan Carpenter