[PATCH 8/9] libchip: Delete superfluous assignments
Sebastian Huber
sebastian.huber at embedded-brains.de
Mon Jun 10 13:11:56 UTC 2013
---
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;
--
1.7.7
More information about the devel
mailing list