drivers: serial: Remove unnecessary DEBUGASSERT in serial.c

Summary:
- This commit removes unnecessary DEBUGASSERT in serial.c

Impact:
- None

Testing:
- Tested with sabre-6quad (QEMU) and sim

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
This commit is contained in:
Masayuki Ishikawa 2021-05-27 10:14:42 +09:00 committed by Gustavo Henrique Nihei
parent cddde2459b
commit 59ab8151cc

View File

@ -1403,7 +1403,6 @@ static int uart_ioctl(FAR struct file *filep, int cmd, unsigned long arg)
/* Save the PID of the recipient of the SIGINT signal. */
dev->pid = (pid_t)arg;
DEBUGASSERT((unsigned long)(dev->pid) == arg);
}
break;
#endif