projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[ALSA] Remove redundant NULL checks before kfree
[deliverable/linux.git]
/
sound
/
usb
/
usbmixer.c
diff --git
a/sound/usb/usbmixer.c
b/sound/usb/usbmixer.c
index 83ba665e5c6e73d71af5886c8a8ff66ff6d48f9e..e73c1c9d3e735a50c9b1edc56c31830c600f28b5 100644
(file)
--- a/
sound/usb/usbmixer.c
+++ b/
sound/usb/usbmixer.c
@@
-623,10
+623,8
@@
static struct usb_feature_control_info audio_feature_info[] = {
/* private_free callback */
static void usb_mixer_elem_free(snd_kcontrol_t *kctl)
{
- if (kctl->private_data) {
- kfree(kctl->private_data);
- kctl->private_data = NULL;
- }
+ kfree(kctl->private_data);
+ kctl->private_data = NULL;
}
This page took
0.026065 seconds
and
5
git commands to generate.