[coreboot] [patch] trivial: remove compiler warning

Peter Stuge peter at stuge.se
Mon Feb 25 01:52:38 CET 2008


On Sun, Feb 24, 2008 at 11:21:29PM +0100, Ronald Hoogenboom wrote:
> This trivial patch removes an unused local variable, thus getting rid of
> a compiler warning.
> 
> Signed-off-by: Ronald Hoogenboom <hoogenboom30 at zonnet.nl>

Acked-by: Peter Stuge <peter at stuge.se>

> Index: src/southbridge/nvidia/mcp55/mcp55_lpc.c
> ===================================================================
> --- src/southbridge/nvidia/mcp55/mcp55_lpc.c	(revision 3114)
> +++ src/southbridge/nvidia/mcp55/mcp55_lpc.c	(working copy)
> @@ -248,7 +248,6 @@
>  static void mcp55_lpc_read_resources(device_t dev)
>  {
>  	struct resource *res;
> -	unsigned long index;
>  
>  	/* Get the normal pci resources of this device */
>  	pci_dev_read_resources(dev); // We got one for APIC, or one more for TRAP




More information about the coreboot mailing list