[rtems commit] libchip/serial/z85c30.c: Remove redundant assignment
Joel Sherril
joel at rtems.org
Wed Nov 26 13:55:50 UTC 2014
Module: rtems
Branch: master
Commit: aed6e1de211b05c7461caa594d79660b162fe708
Changeset: http://git.rtems.org/rtems/commit/?id=aed6e1de211b05c7461caa594d79660b162fe708
Author: Josh Oguin <josh.oguin at oarcorp.com>
Date: Wed Nov 19 14:32:51 2014 -0600
libchip/serial/z85c30.c: Remove redundant assignment
This was flagged by CodeSonar.
---
c/src/libchip/serial/z85c30.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/c/src/libchip/serial/z85c30.c b/c/src/libchip/serial/z85c30.c
index 1f43271..7c55a51 100644
--- a/c/src/libchip/serial/z85c30.c
+++ b/c/src/libchip/serial/z85c30.c
@@ -269,7 +269,6 @@ Z85C30_STATIC void z85c30_init(int minor)
pz85c30Context->ucModemCtrl = SCC_WR5_TX_8_BITS | SCC_WR5_TX_EN;
- ulCtrlPort = Console_Port_Tbl[minor]->ulCtrlPort1;
if ( ulCtrlPort == Console_Port_Tbl[minor]->ulCtrlPort2 ) {
/*
* This is channel A
More information about the vc
mailing list