mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
rapidio: delete an error message for a failed memory allocation in rio_init_mports()
Patch series "RapidIO: Adjustments for some function implementations". This patch (of 7): Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Markus Elfring <[email protected]> Acked-by: Alexandre Bounine <[email protected]> Cc: Matt Porter <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
4de373a12f
commit
0c5afcade3
1 changed files with 0 additions and 1 deletions
|
|
@ -2189,7 +2189,6 @@ int rio_init_mports(void)
|
|||
|
||||
work = kcalloc(n, sizeof *work, GFP_KERNEL);
|
||||
if (!work) {
|
||||
pr_err("RIO: no memory for work struct\n");
|
||||
destroy_workqueue(rio_wq);
|
||||
goto no_disc;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue