[rtems commit] libchip: Delete superfluous assignments
Sebastian Huber
sebh at rtems.org
Wed Jun 12 14:08:10 UTC 2013
Module: rtems
Branch: master
Commit: 6896ca22bb43701c7769430f7c468e935d8213a7
Changeset: http://git.rtems.org/rtems/commit/?id=6896ca22bb43701c7769430f7c468e935d8213a7
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Mon Jun 10 14:07:13 2013 +0200
libchip: Delete superfluous assignments
---
c/src/libchip/serial/ns16550.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/c/src/libchip/serial/ns16550.c b/c/src/libchip/serial/ns16550.c
index d70ad9f..5ef0f97 100644
--- a/c/src/libchip/serial/ns16550.c
+++ b/c/src/libchip/serial/ns16550.c
@@ -561,7 +561,6 @@ NS16550_STATIC void ns16550_process( int minor)
/* Dequeue transmitted characters */
if (rtems_termios_dequeue_characters( d->termios_data, chars) == 0) {
/* Nothing to do */
- d->bActive = false;
ns16550_enable_interrupts( c, NS16550_ENABLE_ALL_INTR_EXCEPT_TX);
}
}
@@ -598,7 +597,6 @@ ssize_t ns16550_write_support_int(
if (len > 0) {
ctx->transmitFifoChars = out;
- d->bActive = true;
ns16550_enable_interrupts( c, NS16550_ENABLE_ALL_INTR);
}
@@ -645,8 +643,6 @@ NS16550_STATIC void ns16550_initialize_interrupts( int minor)
#endif
console_data *d = &Console_Port_Data [minor];
- d->bActive = false;
-
#ifdef BSP_FEATURE_IRQ_EXTENSION
{
rtems_status_code sc = RTEMS_SUCCESSFUL;
More information about the vc
mailing list