summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/console/vtxprintf.c7
-rw-r--r--src/southbridge/intel/i82801xx/i82801xx_pci.c1
2 files changed, 6 insertions, 2 deletions
diff --git a/src/console/vtxprintf.c b/src/console/vtxprintf.c
index 26a5d24351..72bbac5fb0 100644
--- a/src/console/vtxprintf.c
+++ b/src/console/vtxprintf.c
@@ -13,6 +13,11 @@
#define is_digit isdigit
#define isxdigit(c) (((c) >= '0' && (c) <= '9') || ((c) >= 'a' && (c) <= 'f') || ((c) >= 'A' && (c) <= 'F'))
+#if 0
+/* We are using number() instead. So this code is obsoleted and should
+ * probably go away.
+ */
+
static unsigned long simple_strtoul(const char *cp,char **endp,unsigned int base)
{
unsigned long result = 0,value;
@@ -44,7 +49,7 @@ static long simple_strtol(const char *cp,char **endp,unsigned int base)
return -simple_strtoul(cp+1,endp,base);
return simple_strtoul(cp,endp,base);
}
-
+#endif
static int skip_atoi(const char **s)
{
diff --git a/src/southbridge/intel/i82801xx/i82801xx_pci.c b/src/southbridge/intel/i82801xx/i82801xx_pci.c
index 58fa2fd939..2c284c08f0 100644
--- a/src/southbridge/intel/i82801xx/i82801xx_pci.c
+++ b/src/southbridge/intel/i82801xx/i82801xx_pci.c
@@ -26,7 +26,6 @@
static void pci_init(struct device *dev)
{
- uint32_t reg32;
uint16_t reg16;
/* Clear system errors */