[Cbe-oss-dev] [PATCH 2/4] libspe2: Remove unused members in spe_context_base_priv
Kazunori Asayama
asayama at sm.sony.co.jp
Wed Apr 25 22:35:27 EST 2007
This patch removes unused members in spe_context_base_priv structure.
Signed-off-by: Kazunori Asayama <asayama at sm.sony.co.jp>
Index: libspe2-public/spebase/accessors.c
===================================================================
--- libspe2-public.orig/spebase/accessors.c
+++ libspe2-public/spebase/accessors.c
@@ -27,16 +27,6 @@
* accessor functions for private members
*/
-int _base_spe_stop_reason_get(spe_context_ptr_t spe)
-{
- return spe->base_private->stop_reason;
-}
-
-int _base_spe_stop_status_get(spe_context_ptr_t spe)
-{
- return spe->base_private->stop_status;
-}
-
void* _base_spe_ps_area_get(spe_context_ptr_t spe, enum ps_area area)
{
void *ptr;
Index: libspe2-public/spebase/spebase.h
===================================================================
--- libspe2-public.orig/spebase/spebase.h
+++ libspe2-public/spebase/spebase.h
@@ -77,9 +77,6 @@ struct spe_context_base_priv {
int spe_fds_array[NUM_MBOX_FDS];
int spe_fds_refcount[NUM_MBOX_FDS];
- /* SPE MFC Unit fd */
- //int fd_mfc;
-
/* event pipes for speevent library */
int ev_pipe[2];
@@ -92,12 +89,6 @@ struct spe_context_base_priv {
void *signal1_mmap_base;
void *signal2_mmap_base;
- /* Last spu_run return code, for example stop and signal code */
- unsigned int stop_reason;
-
- /* Last spu_run system call status code */
- unsigned int stop_status;
-
/* SPE program entry point generated by elf_load() */
int entry;
};
More information about the cbe-oss-dev
mailing list