Eliminate some warnings

This commit is contained in:
Gregory Nutt 2016-01-08 11:21:53 -06:00
parent 278701f93d
commit 7a393f9e8b
1 changed files with 2 additions and 2 deletions

View File

@ -561,7 +561,7 @@ static int usart1_txinterrupt(int irq, void *context)
#ifdef CONFIG_AVR_USART0
static int usart0_ioctl(struct file *filep, int cmd, unsigned long arg)
{
#if CONFIG_SERIAL_TERMIOS
#ifdef CONFIG_SERIAL_TERMIOS
int ret = OK;
switch (cmd)
@ -585,7 +585,7 @@ static int usart0_ioctl(struct file *filep, int cmd, unsigned long arg)
#ifdef CONFIG_AVR_USART1
static int usart1_ioctl(struct file *filep, int cmd, unsigned long arg)
{
#if CONFIG_SERIAL_TERMIOS
#ifdef CONFIG_SERIAL_TERMIOS
int ret = OK;
switch (cmd)