projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04bab35
)
ALSA: vx: remove 'out of memory' message
author
Mihai Burduselu
<michelcatalin@gmail.com>
Sat, 25 Feb 2017 23:30:38 +0000
(
01:30
+0200)
committer
Takashi Iwai
<tiwai@suse.de>
Tue, 28 Feb 2017 06:54:33 +0000
(07:54 +0100)
Reported by checkpatch.pl
Signed-off-by: Mihai Burduselu <michelcatalin@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/drivers/vx/vx_core.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/drivers/vx/vx_core.c
b/sound/drivers/vx/vx_core.c
index 289f041706cd2526be2743281ef6f1b94be49a5b..f684fffd1397552096fda2f74c45a97e173469d7 100644
(file)
--- a/
sound/drivers/vx/vx_core.c
+++ b/
sound/drivers/vx/vx_core.c
@@
-795,10
+795,8
@@
struct vx_core *snd_vx_create(struct snd_card *card, struct snd_vx_hardware *hw,
return NULL;
chip = kzalloc(sizeof(*chip) + extra_size, GFP_KERNEL);
- if (! chip) {
- snd_printk(KERN_ERR "vx_core: no memory\n");
+ if (! chip)
return NULL;
- }
mutex_init(&chip->lock);
chip->irq = -1;
chip->hw = hw;