Patchwork [The,604,CAR,crusades] Lord of the drinks - The two patches

login
register
about
Submitter Alexandru Gagniuc
Date 2011-03-10 00:42:35
Message ID <4D781E7B.5080206@gmail.com>
Download mbox | patch
Permalink /patch/2767/
State New
Headers show

Comments

Alexandru Gagniuc - 2011-03-10 00:42:35
Two patches yet again.

Patch

CARing for the Intel i82801cx southbridge.

Removed a unused variable which caused a build error.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>

Index: src/southbridge/intel/i82801cx/early_smbus.c
===================================================================
--- src/southbridge/intel/i82801cx/early_smbus.c	(revision 6429)
+++ src/southbridge/intel/i82801cx/early_smbus.c	(working copy)
@@ -1,3 +1,23 @@ 
+/*
+ * This file is part of the coreboot project.
+ * 
+ * Copyright (C) 2011  Alexandru Gagniuc <mr.nuke.me@gmail.com>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+ */
+
 #include <device/pci_ids.h>
 #include "i82801cx.h"
 
@@ -85,7 +105,6 @@ 
 
 static int smbus_read_byte(unsigned device, unsigned address)
 {
-	unsigned char global_control_register;
 	unsigned char global_status_register;
 	unsigned char byte;