diff options
author | Anton Staaf <robotboy@chromium.org> | 2016-04-26 09:56:40 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-04-27 10:10:02 -0700 |
commit | 307b8e54538d95f773134333d295956a0221676e (patch) | |
tree | b88eb77cf65804b0a1ece762ad007edef34c4413 /chip/npcx/uart.c | |
parent | 2cab8b20816eea34f71cc0b74e1d14c3d7d22a96 (diff) | |
download | chrome-ec-307b8e54538d95f773134333d295956a0221676e.tar.gz |
UART: Remove enable/disable interrupt functions
These were not being used and complicate changes to the UART API.
Signed-off-by: Anton Staaf <robotboy@chromium.org>
BRANCH=None
BUG=None
TEST=make buildall -j
Change-Id: I73e256f09f7ea72f0cc4831cc7ce391a7125e555
Reviewed-on: https://chromium-review.googlesource.com/340841
Commit-Ready: Anton Staaf <robotboy@chromium.org>
Tested-by: Anton Staaf <robotboy@chromium.org>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'chip/npcx/uart.c')
-rw-r--r-- | chip/npcx/uart.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/chip/npcx/uart.c b/chip/npcx/uart.c index 512478b05a..e92b5d18be 100644 --- a/chip/npcx/uart.c +++ b/chip/npcx/uart.c @@ -121,16 +121,6 @@ static void uart_clear_rx_fifo(int channel) } } -void uart_disable_interrupt(void) -{ - task_disable_irq(NPCX_IRQ_UART); -} - -void uart_enable_interrupt(void) -{ - task_enable_irq(NPCX_IRQ_UART); -} - /** * Interrupt handler for UART0 */ |