change log for rtems (2011-10-25)

rtems-vc at rtems.org rtems-vc at rtems.org
Wed Oct 26 03:13:23 UTC 2011


 *ralf*:
2011-10-26	Ralf Corsépius <ralf.corsepius at rtems.org>

	* libchip/serial/ns16550.c (ns16550_init):
	Remove unused var "ucTrash".

M  1.569  c/src/ChangeLog
M   1.53  c/src/libchip/serial/ns16550.c

diff -u rtems/c/src/ChangeLog:1.568 rtems/c/src/ChangeLog:1.569
--- rtems/c/src/ChangeLog:1.568	Sun Oct 23 08:32:42 2011
+++ rtems/c/src/ChangeLog	Tue Oct 25 21:51:15 2011
@@ -1,3 +1,8 @@
+2011-10-26	Ralf Corsépius <ralf.corsepius at rtems.org>
+
+	* libchip/serial/ns16550.c (ns16550_init): 
+	Remove unused var "ucTrash".
+
 2011-10-23	Ralf Corsépius <ralf.corsepius at rtems.org>
 
 	* libchip/network/smc91111.c (lan91cxx_recv):

diff -u rtems/c/src/libchip/serial/ns16550.c:1.52 rtems/c/src/libchip/serial/ns16550.c:1.53
--- rtems/c/src/libchip/serial/ns16550.c:1.52	Thu Oct 20 06:46:34 2011
+++ rtems/c/src/libchip/serial/ns16550.c	Tue Oct 25 21:51:15 2011
@@ -96,7 +96,6 @@
 NS16550_STATIC void ns16550_init(int minor)
 {
   uintptr_t               pNS16550;
-  uint8_t                 ucTrash;
   uint8_t                 ucDataByte;
   uint32_t                ulBaudDivisor;
   ns16550_context        *pns16550Context;
@@ -156,8 +155,8 @@
   /* And open interrupt tristate line */
   (*setReg)(pNS16550, NS16550_MODEM_CONTROL,pns16550Context->ucModemCtrl);
 
-  ucTrash = (*getReg)(pNS16550, NS16550_LINE_STATUS );
-  ucTrash = (*getReg)(pNS16550, NS16550_RECEIVE_BUFFER );
+  (*getReg)(pNS16550, NS16550_LINE_STATUS );
+  (*getReg)(pNS16550, NS16550_RECEIVE_BUFFER );
 }
 
 /*


 *ralf*:
2011-10-26	Ralf Corsépius <ralf.corsepius at rtems.org>

	* network/network.c: Remove unused var "dptr".

M   1.46  c/src/lib/libbsp/m68k/genmcf548x/ChangeLog
M    1.7  c/src/lib/libbsp/m68k/genmcf548x/network/network.c

diff -u rtems/c/src/lib/libbsp/m68k/genmcf548x/ChangeLog:1.45 rtems/c/src/lib/libbsp/m68k/genmcf548x/ChangeLog:1.46
--- rtems/c/src/lib/libbsp/m68k/genmcf548x/ChangeLog:1.45	Fri Feb 11 06:30:11 2011
+++ rtems/c/src/lib/libbsp/m68k/genmcf548x/ChangeLog	Tue Oct 25 21:54:22 2011
@@ -1,3 +1,7 @@
+2011-10-26	Ralf Corsépius <ralf.corsepius at rtems.org>
+
+	* network/network.c: Remove unused var "dptr".
+
 2011-02-11	Ralf Corsépius <ralf.corsepius at rtems.org>
 
 	* startup/bspstart.c:

diff -u rtems/c/src/lib/libbsp/m68k/genmcf548x/network/network.c:1.6 rtems/c/src/lib/libbsp/m68k/genmcf548x/network/network.c:1.7
--- rtems/c/src/lib/libbsp/m68k/genmcf548x/network/network.c:1.6	Thu Feb 25 05:01:35 2010
+++ rtems/c/src/lib/libbsp/m68k/genmcf548x/network/network.c	Tue Oct 25 21:54:22 2011
@@ -968,7 +968,6 @@
   rtems_event_set events;
   size_t len = 1;
   MCD_bufDescFec *bd;
-  void	    *dptr;
 
   /*
    * Input packet handling loop
@@ -996,7 +995,7 @@
       /*
        * Remember the data pointer from this transfer.
        */
-      dptr = GET_BD_BUFFER(bd);
+      GET_BD_BUFFER(bd);
       m    = sc->rxMbuf[rxBdIndex];
       m->m_len = m->m_pkthdr.len = (len
 				    - sizeof(uint32_t)


 *ralf*:
2011-10-26	Ralf Corsépius <ralf.corsepius at rtems.org>

	* shared/can/occan.c: Comment out unused var "tmp".

M   1.90  c/src/lib/libbsp/sparc/ChangeLog
M    1.9  c/src/lib/libbsp/sparc/shared/can/occan.c

diff -u rtems/c/src/lib/libbsp/sparc/ChangeLog:1.89 rtems/c/src/lib/libbsp/sparc/ChangeLog:1.90
--- rtems/c/src/lib/libbsp/sparc/ChangeLog:1.89	Fri Oct  7 09:35:03 2011
+++ rtems/c/src/lib/libbsp/sparc/ChangeLog	Tue Oct 25 22:08:40 2011
@@ -1,3 +1,7 @@
+2011-10-26	Ralf Corsépius <ralf.corsepius at rtems.org>
+
+	* shared/can/occan.c: Comment out unused var "tmp".
+
 2011-10-07	Daniel Hellstrom <daniel at gaisler.com>
 
 	PR 1933/cpukit

diff -u rtems/c/src/lib/libbsp/sparc/shared/can/occan.c:1.8 rtems/c/src/lib/libbsp/sparc/shared/can/occan.c:1.9
--- rtems/c/src/lib/libbsp/sparc/shared/can/occan.c:1.8	Fri Feb 11 06:22:07 2011
+++ rtems/c/src/lib/libbsp/sparc/shared/can/occan.c	Tue Oct 25 22:08:40 2011
@@ -399,7 +399,7 @@
 }
 
 static void pelican_open(occan_priv *priv){
-	unsigned char tmp;
+	/* unsigned char tmp; */
 	int ret;
 
 	/* Set defaults */
@@ -430,11 +430,11 @@
 	priv->regs->inten = 0;
 
 	/* clear pending interrupts by reading */
-	tmp = READ_REG(&priv->regs->intflags);
+	/* tmp = */ READ_REG(&priv->regs->intflags);
 }
 
 static int pelican_start(occan_priv *priv){
-	unsigned char tmp;
+	/* unsigned char tmp; */
 	/* Start HW communication */
 
 	if ( !priv->rxfifo || !priv->txfifo )
@@ -450,7 +450,7 @@
 	priv->status = 0;
 
 	/* clear pending interrupts */
-	tmp = READ_REG(&priv->regs->intflags);
+	/* tmp = */ READ_REG(&priv->regs->intflags);
 
 	/* clear error counters */
 	priv->regs->rx_err_cnt = 0;



--

Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20111025/3f58b486/attachment-0001.html>


More information about the vc mailing list