Author: zec
Date: Thu May  6 09:52:32 2010
New Revision: 207697
URL: http://svn.freebsd.org/changeset/base/207697

Log:
  MFC r207475:
    Remove a redundant variable assignment.
  
    Reviewed by:  bz, rwatson

Modified:
  stable/8/sys/kern/uipc_mbuf.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/xen/xenpci/   (props changed)
  stable/8/sys/geom/sched/   (props changed)

Modified: stable/8/sys/kern/uipc_mbuf.c
==============================================================================
--- stable/8/sys/kern/uipc_mbuf.c       Thu May  6 06:44:26 2010        
(r207696)
+++ stable/8/sys/kern/uipc_mbuf.c       Thu May  6 09:52:32 2010        
(r207697)
@@ -948,9 +948,8 @@ m_adj(struct mbuf *mp, int req_len)
                                len = 0;
                        }
                }
-               m = mp;
                if (mp->m_flags & M_PKTHDR)
-                       m->m_pkthdr.len -= (req_len - len);
+                       mp->m_pkthdr.len -= (req_len - len);
        } else {
                /*
                 * Trim from tail.  Scan the mbuf chain,
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to