mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 03:04:51 +01:00
ALSA: oss: delete self assignment
No need to assign "uctl" to itself. Delete it.
Fixes: 55f98ece99 ("ALSA: oss: Relax __free() variable declarations")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://patch.msgid.link/aYXvm2YoV2yRimhk@stanley.mountain
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
e347430182
commit
ee1afacc35
1 changed files with 1 additions and 1 deletions
|
|
@ -792,7 +792,7 @@ static int snd_mixer_oss_get_recsrc2(struct snd_mixer_oss_file *fmixer, unsigned
|
|||
struct snd_ctl_elem_info *uinfo __free(kfree) =
|
||||
kzalloc(sizeof(*uinfo), GFP_KERNEL);
|
||||
struct snd_ctl_elem_value *uctl __free(kfree) =
|
||||
uctl = kzalloc(sizeof(*uctl), GFP_KERNEL);
|
||||
kzalloc(sizeof(*uctl), GFP_KERNEL);
|
||||
if (uinfo == NULL || uctl == NULL)
|
||||
return -ENOMEM;
|
||||
guard(rwsem_read)(&card->controls_rwsem);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue