[rtems commit] bsp/leon3: Remove dead code

Sebastian Huber sebh at rtems.org
Thu Mar 31 11:57:04 UTC 2016


Module:    rtems
Branch:    master
Commit:    2803314e1cd6b51d78a8624006732e91fe29d28a
Changeset: http://git.rtems.org/rtems/commit/?id=2803314e1cd6b51d78a8624006732e91fe29d28a

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Wed Mar 23 16:37:09 2016 +0100

bsp/leon3: Remove dead code

---

 c/src/lib/libbsp/sparc/leon3/shmsupp/getcfg.c | 32 ---------------------------
 1 file changed, 32 deletions(-)

diff --git a/c/src/lib/libbsp/sparc/leon3/shmsupp/getcfg.c b/c/src/lib/libbsp/sparc/leon3/shmsupp/getcfg.c
index e72eb64..fc67cf8 100644
--- a/c/src/lib/libbsp/sparc/leon3/shmsupp/getcfg.c
+++ b/c/src/lib/libbsp/sparc/leon3/shmsupp/getcfg.c
@@ -17,38 +17,6 @@
 #include <bsp.h>
 #include <shm_driver.h>
 
-/* multiprocessor communications interface (MPCI) table */
-
-extern rtems_mpci_entry Shm_Get_packet(
-  rtems_packet_prefix **
-);
-
-rtems_mpci_entry Shm_Initialization( void );
-
-extern rtems_mpci_entry Shm_Receive_packet(
-  rtems_packet_prefix **
-);
-
-extern rtems_mpci_entry Shm_Return_packet(
-  rtems_packet_prefix *
-);
-
-extern rtems_mpci_entry Shm_Send_packet(
-  uint32_t,
-  rtems_packet_prefix *
-);
-
-
-/*
- *  configured if currently polling or interrupt driven
- *
- *  NOTE: Code in mpisr.c is commented out. Fix when interrupt mode
- *        is added.
- */
-
-#define INTERRUPT 0        /* XXX: */
-#define POLLING   1        /* XXX: fix me -- is polling ONLY!!! */
-
 /* Let user override this configuration by declaring this a weak variable */
 shm_config_table BSP_shm_cfgtbl __attribute__((weak)) =
 {



More information about the vc mailing list