projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b223a9
)
ALSA: mpu401: Delete an error message for a failed memory allocation in snd_mpu401_ua...
author
Markus Elfring
<elfring@users.sourceforge.net>
Sat, 12 Aug 2017 18:20:11 +0000
(20:20 +0200)
committer
Takashi Iwai
<tiwai@suse.de>
Sat, 12 Aug 2017 21:35:06 +0000
(23:35 +0200)
Omit an extra message for a memory allocation failure in this function.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/drivers/mpu401/mpu401_uart.c
patch
|
blob
|
history
diff --git
a/sound/drivers/mpu401/mpu401_uart.c
b/sound/drivers/mpu401/mpu401_uart.c
index 3a7c317ae012ab18e1172d5cc795f64db7afb953..cc347386fc2b6b98ed0f4a3843f2d0ceb7d86697 100644
(file)
--- a/
sound/drivers/mpu401/mpu401_uart.c
+++ b/
sound/drivers/mpu401/mpu401_uart.c
@@
-545,7
+545,6
@@
int snd_mpu401_uart_new(struct snd_card *card, int device,
return err;
mpu = kzalloc(sizeof(*mpu), GFP_KERNEL);
if (mpu == NULL) {
- snd_printk(KERN_ERR "mpu401_uart: cannot allocate\n");
snd_device_free(card, rmidi);
return -ENOMEM;
}