From 5c57df6c1a672218254c2625dd2bc949dacf469f Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sun, 18 Oct 2009 13:42:50 +0000 Subject: Drop dead/unused code (trivial). DEBUG_SETNORTHB is never defined, and even if it was, setnorthb() is never called anyway. Signed-off-by: Uwe Hermann Acked-by: Uwe Hermann git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4805 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/northbridge/via/vt8601/raminit.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/northbridge/via/vt8601') diff --git a/src/northbridge/via/vt8601/raminit.c b/src/northbridge/via/vt8601/raminit.c index b16d0be3c7..65c8088e68 100644 --- a/src/northbridge/via/vt8601/raminit.c +++ b/src/northbridge/via/vt8601/raminit.c @@ -69,20 +69,6 @@ void dimms_write(int x) } } -#ifdef DEBUG_SETNORTHB -void setnorthb(device_t north, uint8_t reg, uint8_t val) -{ - print_debug("setnorth: reg "); - print_debug_hex8(reg); - print_debug(" to "); - print_debug_hex8(val); - print_debug("\r\n"); - pci_write_config8(north, reg, val); -} -#else -#define setnorthb pci_write_config8 -#endif - void dumpnorth(device_t north) { unsigned int r, c; -- cgit v1.2.3