From e35d5e3fa229b438fff533f0066b6b384a116a1f Mon Sep 17 00:00:00 2001
From: Stefan Reinauer <stepan@coresystems.de>
Date: Fri, 14 Nov 2008 13:43:26 +0000
Subject: drop dead code in sb600 hda

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Myles Watson <mylesgw@gmail.com>



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(-)

(limited to 'src/southbridge/amd')

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);
-- 
cgit v1.2.3