<div dir="ltr">To remove notepads fully, the documentation and testsuites<div>should also be touched. There should be more in the patch.</div><div><br></div><div>--joel</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 21, 2015 at 1:15 AM, Sebastian Huber <span dir="ltr"><<a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brains.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 21/12/15 02:13, Aun-Ali Zaidi wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
updates #2493.<br>
---<br>
cpukit/rtems/include/rtems/rtems/tasks.h | 2 +-<br>
cpukit/rtems/src/taskgetnote.c | 2 --<br>
cpukit/rtems/src/tasksetnote.c | 2 --<br>
3 files changed, 1 insertion(+), 5 deletions(-)<br>
<br>
diff --git a/cpukit/rtems/include/rtems/rtems/tasks.h b/cpukit/rtems/include/rtems/rtems/tasks.h<br>
index 1ad537d..114624d 100644<br>
--- a/cpukit/rtems/include/rtems/rtems/tasks.h<br>
+++ b/cpukit/rtems/include/rtems/rtems/tasks.h<br>
@@ -678,7 +678,7 @@ typedef struct {<br>
*<br>
* @note MUST BE LAST ENTRY.<br>
*/<br>
- uint32_t Notepads[ RTEMS_ZERO_LENGTH_ARRAY ] RTEMS_DEPRECATED;<br>
+ //uint32_t Notepads[ RTEMS_ZERO_LENGTH_ARRAY ] RTEMS_DEPRECATED;<br>
</blockquote>
<br></span>
Please don't use comments or #if 0 to remove things.<span class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
} RTEMS_API_Control;<br>
/**<br>
diff --git a/cpukit/rtems/src/taskgetnote.c b/cpukit/rtems/src/taskgetnote.c<br>
index c097d9c..ba40d2e 100644<br>
--- a/cpukit/rtems/src/taskgetnote.c<br>
+++ b/cpukit/rtems/src/taskgetnote.c<br>
@@ -60,7 +60,6 @@ rtems_status_code rtems_task_get_note(<br>
if ( _Objects_Are_ids_equal( id, OBJECTS_ID_OF_SELF ) ||<br>
_Objects_Are_ids_equal( id, executing->Object.id ) ) {<br>
api = executing->API_Extensions[ THREAD_API_RTEMS ];<br>
- *note = api->Notepads[ notepad ];<br>
return RTEMS_SUCCESSFUL;<br>
}<br>
@@ -69,7 +68,6 @@ rtems_status_code rtems_task_get_note(<br>
case OBJECTS_LOCAL:<br>
api = the_thread->API_Extensions[ THREAD_API_RTEMS ];<br>
- *note = api->Notepads[ notepad ];<br>
_Objects_Put( &the_thread->Object );<br>
return RTEMS_SUCCESSFUL;<br>
<br>
</blockquote>
<br></span>
What is the purpose of this function after your change?<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Sebastian Huber, embedded brains GmbH<br>
<br>
Address : Dornierstr. 4, D-82178 Puchheim, Germany<br>
Phone : <a href="tel:%2B49%2089%20189%2047%2041-16" value="+4989189474116" target="_blank">+49 89 189 47 41-16</a><br>
Fax : <a href="tel:%2B49%2089%20189%2047%2041-09" value="+4989189474109" target="_blank">+49 89 189 47 41-09</a><br>
E-Mail : <a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brains.de</a><br>
PGP : Public key available on request.<br>
<br>
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
</div></div></blockquote></div><br></div>