Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1588246 > unrolled thread
| Started by | Mihai Burduselu <michelcatalin@gmail.com> |
|---|---|
| First post | 2017-02-26 00:50 +0100 |
| Last post | 2017-02-26 00:50 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
[PATCH] ALSA: vx: remove 'out of memory' message Mihai Burduselu <michelcatalin@gmail.com> - 2017-02-26 00:50 +0100
| From | Mihai Burduselu <michelcatalin@gmail.com> |
|---|---|
| Date | 2017-02-26 00:50 +0100 |
| Subject | [PATCH] ALSA: vx: remove 'out of memory' message |
| Message-ID | <teUg9-6KM-3@gated-at.bofh.it> |
Reported by checkpatch.pl
Signed-off-by: Mihai Burduselu <michelcatalin@gmail.com>
---
sound/drivers/vx/vx_core.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/sound/drivers/vx/vx_core.c b/sound/drivers/vx/vx_core.c
index 289f041706cd..f684fffd1397 100644
--- 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;
--
2.11.0
Back to top | Article view | linux.kernel
csiph-web