rapidio: delete an error message for a failed memory allocation in rio_init_mports()
PATCH 63/114 rapidio: delete an error message for a failed memory allocation in rio_init_mports()
From: Markus Elfring <[email protected]>
Subject: 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.
Signed-off-by Markus Elfring <[email protected]>
Cc Matt Porter <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
drivers/rapidio/rio.c | 1 - 1 file changed, 1 deletion(-)
drivers/rapidio/rio.c renamed from drivers/rapidio/rio.c~rapidio-delete-an-error-message-for-a-failed-memory-allocation-in-rio_init_mports +0 -1
@@ -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; }
_