drivers/serial/16550: remove unused function
drivers/serial/uart_16550.c:690:20: warning: unused function 'u16550_restoreuartint' [-Wunused-function]
static inline void u16550_restoreuartint(FAR struct u16550_s *priv,
^
Signed-off-by: chao an <anchao@lixiang.com>
This commit is contained in:
parent
3a5abf724e
commit
d11b1ba9cb
1 changed files with 0 additions and 11 deletions
|
|
@ -683,17 +683,6 @@ static inline void u16550_disableuartint(FAR struct u16550_s *priv,
|
|||
u16550_serialout(priv, UART_IER_OFFSET, priv->ier);
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
* Name: u16550_restoreuartint
|
||||
****************************************************************************/
|
||||
|
||||
static inline void u16550_restoreuartint(FAR struct u16550_s *priv,
|
||||
uint32_t ier)
|
||||
{
|
||||
priv->ier |= ier & UART_IER_ALLIE;
|
||||
u16550_serialout(priv, UART_IER_OFFSET, priv->ier);
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
* Name: u16550_enablebreaks
|
||||
****************************************************************************/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue