[PATCH 06/14] vme: fake: Delete an error message for a failed memory allocation in fake_init()

From: SF Markus Elfring
Date: Fri Aug 25 2017 - 12:02:25 EST


From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 25 Aug 2017 09:31:46 +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@xxxxxxxxxxxxxxxxxxxxx>
---
drivers/vme/bridges/vme_fake.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/vme/bridges/vme_fake.c b/drivers/vme/bridges/vme_fake.c
index 30b3acc93833..6ceea5e9fd8b 100644
--- a/drivers/vme/bridges/vme_fake.c
+++ b/drivers/vme/bridges/vme_fake.c
@@ -1159,4 +1159,3 @@ static int __init fake_init(void)
- pr_err("Failed to allocate memory for location monitor resource structure\n");
retval = -ENOMEM;
goto err_lm;
}
--
2.14.0