瀏覽代碼

s3c24x0: Fix unused variable 'i' in function 'serial_init_dev'

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Jean-Christophe PLAGNIOL-VILLARD 17 年之前
父節點
當前提交
b6f29c84c2
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      cpu/arm920t/s3c24x0/serial.c

+ 0 - 1
cpu/arm920t/s3c24x0/serial.c

@@ -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;