projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f97364c
)
gpio-ml-ioh: Delete an error message
author
Markus Elfring
<elfring@users.sourceforge.net>
Sat, 10 Feb 2018 21:27:15 +0000
(22:27 +0100)
committer
Linus Walleij
<linus.walleij@linaro.org>
Thu, 22 Feb 2018 14:25:39 +0000
(15:25 +0100)
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: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-ml-ioh.c
patch
|
blob
|
history
diff --git
a/drivers/gpio/gpio-ml-ioh.c
b/drivers/gpio/gpio-ml-ioh.c
index
4b80e99
..
b3678bd
100644
(file)
--- a/
drivers/gpio/gpio-ml-ioh.c
+++ b/
drivers/gpio/gpio-ml-ioh.c
@@
-445,7
+445,6
@@
static int ioh_gpio_probe(struct pci_dev *pdev,
chip_save = kzalloc(sizeof(*chip) * 8, GFP_KERNEL);
if (chip_save == NULL) {
- dev_err(&pdev->dev, "%s : kzalloc failed", __func__);
ret = -ENOMEM;
goto err_kzalloc;
}