s3c24x0: Fix unused variable 'i' in function 'serial_init_dev'
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Sun, 17 Feb 2008 13:15:31 +0000 (14:15 +0100)
committerWolfgang Denk <wd@denx.de>
Sun, 17 Feb 2008 15:04:23 +0000 (16:04 +0100)
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
cpu/arm920t/s3c24x0/serial.c

index 6e853b87acc8f8c1b9465b013610dd97cb7fe420..064b99871d06d95dedf7244e687783dfe2d31253 100644 (file)
@@ -110,7 +110,6 @@ void serial_setbrg(void)
 static int serial_init_dev(const int dev_index)
 {
        S3C24X0_UART * const uart = S3C24X0_GetBase_UART(dev_index);
-       int i;
 
        /* FIFO enable, Tx/Rx FIFO clear */
        uart->UFCON = 0x07;