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:
parent
cddde2459b
commit
59ab8151cc
@ -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. */
|
/* Save the PID of the recipient of the SIGINT signal. */
|
||||||
|
|
||||||
dev->pid = (pid_t)arg;
|
dev->pid = (pid_t)arg;
|
||||||
DEBUGASSERT((unsigned long)(dev->pid) == arg);
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user