diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2017-08-25 09:31:46 +0200 |
---|---|---|
committer | Martyn Welch <martyn.welch@collabora.co.uk> | 2017-10-13 21:32:01 +0100 |
commit | ef544fbc53badd3ae1c85980211bd39419c4082a (patch) | |
tree | 3c3a73b156717bdc10d9e2746d5283f1324e08e9 | |
parent | 8af70cd9d6dec3fb968613a8d5318039ac5497b1 (diff) | |
download | op-kernel-dev-ef544fbc53badd3ae1c85980211bd39419c4082a.zip op-kernel-dev-ef544fbc53badd3ae1c85980211bd39419c4082a.tar.gz |
vme: fake: Delete an error message for a failed memory allocation in fake_init()
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: Martyn Welch <martyn@welchs.me.uk>
-rw-r--r-- | drivers/vme/bridges/vme_fake.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/vme/bridges/vme_fake.c b/drivers/vme/bridges/vme_fake.c index 30b3acc..6ceea5e 100644 --- a/drivers/vme/bridges/vme_fake.c +++ b/drivers/vme/bridges/vme_fake.c @@ -1156,7 +1156,6 @@ static int __init fake_init(void) INIT_LIST_HEAD(&fake_bridge->lm_resources); lm = kmalloc(sizeof(struct vme_lm_resource), GFP_KERNEL); if (lm == NULL) { - pr_err("Failed to allocate memory for location monitor resource structure\n"); retval = -ENOMEM; goto err_lm; } |