From 9ead80f8700b37779ca6536b423fa5ee9544efd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Tue, 28 Aug 2012 07:49:49 +0300 Subject: Drop get_smbios_data from chip_operations MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We only want to add data once per device. Using the one in chip_operations is not very usable anyway, as different devices under the same chip directory would need to output entirely different sets of data. Change-Id: I96690c4c699667343ebef44a7f3de1f974cf6d6d Signed-off-by: Kyösti Mälkki Reviewed-on: http://review.coreboot.org/1492 Reviewed-by: Duncan Laurie Tested-by: build bot (Jenkins) --- src/arch/x86/boot/smbios.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/arch') diff --git a/src/arch/x86/boot/smbios.c b/src/arch/x86/boot/smbios.c index ac0e132a24..72e70bacea 100644 --- a/src/arch/x86/boot/smbios.c +++ b/src/arch/x86/boot/smbios.c @@ -282,9 +282,6 @@ static int smbios_walk_device_tree(device_t tree, int *handle, unsigned long *cu if (dev->ops && dev->ops->get_smbios_data) len += dev->ops->get_smbios_data(dev, handle, current); - - if (dev->chip_ops && dev->chip_ops->get_smbios_data) - len += dev->chip_ops->get_smbios_data(dev, handle, current); } return len; } -- cgit v1.2.3