[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0a01ed52-b852-ccfd-b834-df06f8cd2915@users.sourceforge.net>
Date: Sat, 10 Sep 2016 16:26:16 +0200
From: SF Markus Elfring <elfring@...rs.sourceforge.net>
To: kernel-janitors@...r.kernel.org,
Miguel Ojeda Sandonis <miguel.ojeda.sandonis@...il.com>
Cc: LKML <linux-kernel@...r.kernel.org>,
Julia Lawall <julia.lawall@...6.fr>,
Wolfram Sang <wsa@...-dreams.de>
Subject: [PATCH 2/7] cfag12864b: Delete an error message for a failed
kmalloc_array() call
From: Markus Elfring <elfring@...rs.sourceforge.net>
Date: Sat, 10 Sep 2016 14:54:05 +0200
Omit an extra message for a memory allocation failure in this function.
Link: http://events.linuxfoundation.org/sites/events/files/slides/LCJ16-Refactor_Strings-WSang_0.pdf
Signed-off-by: Markus Elfring <elfring@...rs.sourceforge.net>
---
drivers/auxdisplay/cfag12864b.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/auxdisplay/cfag12864b.c b/drivers/auxdisplay/cfag12864b.c
index 88260f4..fd07fad 100644
--- a/drivers/auxdisplay/cfag12864b.c
+++ b/drivers/auxdisplay/cfag12864b.c
@@ -351,9 +351,6 @@ static int __init cfag12864b_init(void)
sizeof(*cfag12864b_cache),
GFP_KERNEL);
if (cfag12864b_cache == NULL) {
- printk(KERN_ERR CFAG12864B_NAME ": ERROR: "
- "can't alloc cache buffer (%i bytes)\n",
- CFAG12864B_SIZE);
ret = -ENOMEM;
goto bufferalloced;
}
--
2.10.0
Powered by blists - more mailing lists