From 1d380128aa522510bb39385a0517bf28bb84e418 Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Thu, 12 Jan 2023 11:47:05 +0100 Subject: [PATCH] drivers/intel/i210.h: Remove 'extern' from declaration "extern" is always implied with function declarations. Also remove the comment as the linker will just tell you the same if a definition is missing. Change-Id: I53679ab57981790f82affb46a006281b348af574 Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/c/coreboot/+/71869 Reviewed-by: Paul Menzel Tested-by: build bot (Jenkins) Reviewed-by: Werner Zeh --- src/drivers/intel/i210/i210.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/drivers/intel/i210/i210.h b/src/drivers/intel/i210/i210.h index 1cc6a28a0b..baaab6e3d5 100644 --- a/src/drivers/intel/i210/i210.h +++ b/src/drivers/intel/i210/i210.h @@ -30,7 +30,6 @@ #define MAC_ADDR_LEN 6 /* We need one function we can call to get a MAC address to use */ -/* This function can be coded somewhere else but must exist. */ -extern enum cb_err mainboard_get_mac_address(struct device *dev, uint8_t mac[MAC_ADDR_LEN]); +enum cb_err mainboard_get_mac_address(struct device *dev, uint8_t mac[MAC_ADDR_LEN]); #endif /* _INTEL_I210_H_ */