Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

EISA: Delete error message for a failed memory allocation in eisa_probe()

Omit extra message for a memory allocation failure in probe function.

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Acked-by: Marc Zyngier <maz@misterjones.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Ladislav Michl and committed by
Greg Kroah-Hartman
3ea98d47 91809d22

+1 -3
+1 -3
drivers/eisa/eisa-bus.c
··· 324 324 * here, simply fail, unless root->force_probe is set. */ 325 325 326 326 edev = kzalloc(sizeof(*edev), GFP_KERNEL); 327 - if (!edev) { 328 - dev_err(root->dev, "EISA: Couldn't allocate mainboard slot\n"); 327 + if (!edev) 329 328 return -ENOMEM; 330 - } 331 329 332 330 if (eisa_request_resources(root, edev, 0)) { 333 331 dev_warn(root->dev,