<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>change log for rtems (2011-10-20)</title>
</head>
<body text='#000000' bgcolor='#ffffff'>
<a name='cs1'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-10-20 Ralf Corsépius <ralf.corsepius@rtems.org>

        * libnetworking/net/if_ethersubr.c (ether_output):
        Remove unused vars "hlen", "off".
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/ChangeLog.diff?r1=text&tr1=1.2962&r2=text&tr2=1.2963&diff_format=h">M</a></td><td width='1%'>1.2963</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libnetworking/net/if_ethersubr.c.diff?r1=text&tr1=1.18&r2=text&tr2=1.19&diff_format=h">M</a></td><td width='1%'>1.19</td><td width='100%'>cpukit/libnetworking/net/if_ethersubr.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2962 rtems/cpukit/ChangeLog:1.2963
--- rtems/cpukit/ChangeLog:1.2962       Thu Oct 20 06:58:53 2011
+++ rtems/cpukit/ChangeLog      Thu Oct 20 08:54:44 2011
</font><font color='#997700'>@@ -1,5 +1,7 @@
</font> 2011-10-20        Ralf Corsépius <ralf.corsepius@rtems.org>
 
<font color='#000088'>+   * libnetworking/net/if_ethersubr.c (ether_output):<span style="background-color: #FF0000"> </span>
+       Remove unused vars "hlen", "off".
</font>   * score/include/rtems/score/rbtree.h (_RBTree_Container_of):
        Use offsetof. Don't cast to size_t. Include <stddef.h>.
        * libnetworking/libc/res_mkupdate.c (res_mkupdate):

<font color='#006600'>diff -u rtems/cpukit/libnetworking/net/if_ethersubr.c:1.18 rtems/cpukit/libnetworking/net/if_ethersubr.c:1.19
--- rtems/cpukit/libnetworking/net/if_ethersubr.c:1.18  Sun Mar 28 00:50:28 2010
+++ rtems/cpukit/libnetworking/net/if_ethersubr.c       Thu Oct 20 08:54:45 2011
</font><font color='#997700'>@@ -121,12 +121,11 @@
</font>   register struct rtentry *rt;
        struct mbuf *mcopy = (struct mbuf *)0;
        register struct ether_header *eh;
<font color='#880000'>-   int off, len = m->m_pkthdr.len;
</font><font color='#000088'>+      int len = m->m_pkthdr.len;
</font>   struct arpcom *ac = (struct arpcom *)ifp;
 #ifdef NETATALK
        struct at_ifaddr *aa;
 #endif /* NETATALK */
<font color='#880000'>-   int hlen;       /* link layer header length */
</font> 
        if ((ifp->if_flags & (IFF_UP|IFF_RUNNING)) != (IFF_UP|IFF_RUNNING))
                senderr(ENETDOWN);
<font color='#997700'>@@ -155,7 +154,6 @@
</font>                       rtems_bsdnet_seconds_since_boot() < rt->rt_rmx.rmx_expire)
                                senderr(rt == rt0 ? EHOSTDOWN : EHOSTUNREACH);
        }
<font color='#880000'>-   hlen = ETHER_HDR_LEN;
</font>   switch (dst->sa_family) {
 
 #ifdef INET
<font color='#997700'>@@ -165,7 +163,6 @@
</font>           /* If broadcasting on a simplex interface, loopback a copy */
                if ((m->m_flags & M_BCAST) && (ifp->if_flags & IFF_SIMPLEX))
                        mcopy = m_copy(m, 0, (int)M_COPYALL);
<font color='#880000'>-           off = m->m_pkthdr.len - m->m_len;
</font>           type = htons(ETHERTYPE_IP);
                break;
 #endif
</pre>
<p> </p>

<p>--<br />
<small>Generated by <a href="http://www.codewiz.org/projects/index.html#loginfo">Deluxe Loginfo</a> 2.122 by Bernardo Innocenti <bernie@develer.com></small></p>
</body>
</html>