diff options
Diffstat (limited to 'sound/usb/usbmixer.c')
-rw-r--r-- | sound/usb/usbmixer.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sound/usb/usbmixer.c b/sound/usb/usbmixer.c index 83ba665e5c6e..e73c1c9d3e73 100644 --- a/sound/usb/usbmixer.c +++ b/sound/usb/usbmixer.c | |||
@@ -623,10 +623,8 @@ static struct usb_feature_control_info audio_feature_info[] = { | |||
623 | /* private_free callback */ | 623 | /* private_free callback */ |
624 | static void usb_mixer_elem_free(snd_kcontrol_t *kctl) | 624 | static void usb_mixer_elem_free(snd_kcontrol_t *kctl) |
625 | { | 625 | { |
626 | if (kctl->private_data) { | 626 | kfree(kctl->private_data); |
627 | kfree(kctl->private_data); | 627 | kctl->private_data = NULL; |
628 | kctl->private_data = NULL; | ||
629 | } | ||
630 | } | 628 | } |
631 | 629 | ||
632 | 630 | ||