change log for rtems (2011-10-22)

rtems-vc at rtems.org rtems-vc at rtems.org
Sat Oct 22 05:15:41 UTC 2011


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

	* malloc04/init.c: Define p1, p2, p3, p4 extern (Avoid warnings).

M  1.278  testsuites/libtests/ChangeLog
M    1.8  testsuites/libtests/malloc04/init.c

diff -u rtems/testsuites/libtests/ChangeLog:1.277 rtems/testsuites/libtests/ChangeLog:1.278
--- rtems/testsuites/libtests/ChangeLog:1.277	Thu Sep 29 10:54:09 2011
+++ rtems/testsuites/libtests/ChangeLog	Fri Oct 21 23:18:39 2011
@@ -1,3 +1,7 @@
+2011-10-22	Ralf Corsépius <ralf.corsepius at rtems.org>
+
+	* malloc04/init.c: Define p1, p2, p3, p4 extern (Avoid warnings).
+
 2011-09-29	Ralf Corsépius <ralf.corsepius at rtems.org>
 
 	* mouse01/init.c, mouse01/msmouse.c, mouse01/serial_mouse_config.c:

diff -u rtems/testsuites/libtests/malloc04/init.c:1.7 rtems/testsuites/libtests/malloc04/init.c:1.8
--- rtems/testsuites/libtests/malloc04/init.c:1.7	Tue Jul 12 10:55:44 2011
+++ rtems/testsuites/libtests/malloc04/init.c	Fri Oct 21 23:18:39 2011
@@ -62,11 +62,12 @@
   return p;
 }
 
+void *p1, *p2, *p3, *p4;
+
 rtems_task Init(
   rtems_task_argument argument
 )
 {
-  void *p1, *p2, *p3, *p4;
   Heap_Control *TempHeap;
 
   sbrk_count = 0;


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

	* libchip/rtc/mc146818a.c (mc146818a_initialize):
	Remove unused var "getReg".
	* libchip/rtc/mc146818a.c (mc146818a_set_time):
	Remove unused var "getReg".

M  1.566  c/src/ChangeLog
M    1.8  c/src/libchip/rtc/mc146818a.c

diff -u rtems/c/src/ChangeLog:1.565 rtems/c/src/ChangeLog:1.566
--- rtems/c/src/ChangeLog:1.565	Thu Oct 20 10:35:40 2011
+++ rtems/c/src/ChangeLog	Fri Oct 21 23:33:02 2011
@@ -1,3 +1,10 @@
+2011-10-22	Ralf Corsépius <ralf.corsepius at rtems.org>
+
+	* libchip/rtc/mc146818a.c (mc146818a_initialize): 
+	Remove unused var "getReg".
+	* libchip/rtc/mc146818a.c (mc146818a_set_time): 
+	Remove unused var "getReg".
+
 2011-10-20	Ralf Corsépius <ralf.corsepius at rtems.org>
 
 	* libchip/display/disp_hcms29xx.c: Remove ARRAY_COUNT (unused).

diff -u rtems/c/src/libchip/rtc/mc146818a.c:1.7 rtems/c/src/libchip/rtc/mc146818a.c:1.8
--- rtems/c/src/libchip/rtc/mc146818a.c:1.7	Sun Nov 29 21:42:53 2009
+++ rtems/c/src/libchip/rtc/mc146818a.c	Fri Oct 21 23:33:02 2011
@@ -59,11 +59,9 @@
 )
 {
   uint32_t     mc146818a;
-  getRegister_f  getReg;
   setRegister_f  setReg;
 
   mc146818a = RTC_Table[ minor ].ulCtrlPort1;
-  getReg = RTC_Table[ minor ].getRegister;
   setReg = RTC_Table[ minor ].setRegister;
 
   (*setReg)( mc146818a, MC146818A_STATUSA, MC146818ASA_DIVIDER|MC146818ASA_1024 );
@@ -139,11 +137,9 @@
 )
 {
   uint32_t     mc146818a;
-  getRegister_f  getReg;
   setRegister_f  setReg;
 
   mc146818a = RTC_Table[ minor ].ulCtrlPort1;
-  getReg = RTC_Table[ minor ].getRegister;
   setReg = RTC_Table[ minor ].setRegister;
 
   /*


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

	* libchip/network/dec21140.c (dec21140_rxDaemon):
	Remove unused var "tbase".

M  1.567  c/src/ChangeLog
M   1.48  c/src/libchip/network/dec21140.c

diff -u rtems/c/src/ChangeLog:1.566 rtems/c/src/ChangeLog:1.567
--- rtems/c/src/ChangeLog:1.566	Fri Oct 21 23:33:02 2011
+++ rtems/c/src/ChangeLog	Fri Oct 21 23:36:14 2011
@@ -1,5 +1,7 @@
 2011-10-22	Ralf Corsépius <ralf.corsepius at rtems.org>
 
+	* libchip/network/dec21140.c (dec21140_rxDaemon):
+	Remove unused var "tbase".
 	* libchip/rtc/mc146818a.c (mc146818a_initialize): 
 	Remove unused var "getReg".
 	* libchip/rtc/mc146818a.c (mc146818a_set_time): 

diff -u rtems/c/src/libchip/network/dec21140.c:1.47 rtems/c/src/libchip/network/dec21140.c:1.48
--- rtems/c/src/libchip/network/dec21140.c:1.47	Fri Jan 28 14:47:05 2011
+++ rtems/c/src/libchip/network/dec21140.c	Fri Oct 21 23:36:14 2011
@@ -560,7 +560,6 @@
 static void
 dec21140_rxDaemon (void *arg)
 {
-   volatile uint32_t     *tbase;
    volatile struct MD    *rmd;
    struct dec21140_softc *sc;
    struct ifnet          *ifp;
@@ -585,7 +584,6 @@
             if( events & sc->ioevent )
             {
                ifp   = &sc->arpcom.ac_if;
-               tbase = sc->base;
                rmd   = sc->nextRxMD;
 
                /*


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

	* shared/comm/uart.c (uartError): Remove unused var "uartStatus".

M   1.88  c/src/lib/libbsp/i386/ChangeLog
M   1.22  c/src/lib/libbsp/i386/shared/comm/uart.c

diff -u rtems/c/src/lib/libbsp/i386/ChangeLog:1.87 rtems/c/src/lib/libbsp/i386/ChangeLog:1.88
--- rtems/c/src/lib/libbsp/i386/ChangeLog:1.87	Thu Oct 13 07:18:39 2011
+++ rtems/c/src/lib/libbsp/i386/ChangeLog	Fri Oct 21 23:40:53 2011
@@ -1,3 +1,7 @@
+2011-10-22	Ralf Corsépius <ralf.corsepius at rtems.org>
+
+	* shared/comm/uart.c (uartError): Remove unused var "uartStatus".
+
 2011-10-13	Ralf Corsépius <ralf.corsepius at rtems.org>
 
 	* shared/comm/uart.c: Remove unused var "tmp".

diff -u rtems/c/src/lib/libbsp/i386/shared/comm/uart.c:1.21 rtems/c/src/lib/libbsp/i386/shared/comm/uart.c:1.22
--- rtems/c/src/lib/libbsp/i386/shared/comm/uart.c:1.21	Thu Oct 13 07:18:39 2011
+++ rtems/c/src/lib/libbsp/i386/shared/comm/uart.c	Fri Oct 21 23:40:53 2011
@@ -86,10 +86,8 @@
 #else
 inline void uartError(int uart)
 {
-  unsigned char uartStatus;
-
-  uartStatus = uread(uart, LSR);
-  uartStatus = uread(uart, RBR);
+  uread(uart, LSR);
+  uread(uart, RBR);
 }
 #endif
 



--

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/20111022/7c22dfc9/attachment.html>


More information about the vc mailing list