From e35d5e3fa229b438fff533f0066b6b384a116a1f Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Fri, 14 Nov 2008 13:43:26 +0000 Subject: [PATCH] drop dead code in sb600 hda Signed-off-by: Stefan Reinauer Acked-by: Myles Watson git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3752 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/southbridge/amd/sb600/sb600_hda.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/southbridge/amd/sb600/sb600_hda.c b/src/southbridge/amd/sb600/sb600_hda.c index b8044fadf1..ca46b21963 100644 --- a/src/southbridge/amd/sb600/sb600_hda.c +++ b/src/southbridge/amd/sb600/sb600_hda.c @@ -267,8 +267,7 @@ static void hda_init(struct device *dev) u32 codec_mask; /* SM Setting */ - device_t hda_dev; - hda_dev = dev_find_slot(0, PCI_DEVFN(0x14, 0)); + /* Set routing pin */ pci_write_config32(dev, 0xf8, 0x0); pci_write_config8(dev, 0xfc, 0xAA);