You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
gpio-ml-ioh: Delete an error message
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>
This commit is contained in:
committed by
Linus Walleij
parent
f97364c9b8
commit
4aed95793f
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user