drivers/serial/serial.c: Fix warning: 'value computed is not used'

This commit is contained in:
Xiang Xiao 2018-08-29 06:09:25 -06:00 committed by Gregory Nutt
parent 6129136329
commit 09c907b446

View File

@ -1347,7 +1347,7 @@ static int uart_ioctl(FAR struct file *filep, int cmd, unsigned long arg)
#ifdef CONFIG_SERIAL_IFLOWCONTROL
/* De-activate RX flow control. */
uart_rxflowcontrol(dev, 0, false);
(void)uart_rxflowcontrol(dev, 0, false);
#endif
}