Commit 7971cc40 authored by Chris Packham's avatar Chris Packham Committed by Gregory CLEMENT
Browse files

ARM: mvebu: kirkwood: remove error message when retrieving mac address



Kirkwood has always had the ability to retrieve the local-mac-address
from the hardware (usually this was configured by the bootloader). This
is particularly useful when dealing with a legacy non-DT aware
bootloader.

The "error" message just indicated that the board used an old bootloader
and in many cases users can't do anything about this. The message
probably should have been pr_info() to inform the user that the kernel
has been helpful but rather than than let's remove it entirely to make
the kernel less noisy.

Signed-off-by: default avatarChris Packham <chris.packham@alliedtelesis.co.nz>
Signed-off-by: default avatarGregory CLEMENT <gregory.clement@bootlin.com>
parent 9e98c678
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -107,8 +107,6 @@ static void __init kirkwood_dt_eth_fixup(void)
		clk_prepare_enable(clk);

		/* store MAC address register contents in local-mac-address */
		pr_err(FW_INFO "%pOF: local-mac-address is not set\n", np);

		pmac = kzalloc(sizeof(*pmac) + 6, GFP_KERNEL);
		if (!pmac)
			goto eth_fixup_no_mem;