Author: sbruno
Date: Sat Jul 25 19:24:33 2015
New Revision: 285879
URL: https://svnweb.freebsd.org/changeset/base/285879

Log:
  Remove unused txd_saved.
  
  Intialize txd_upper, txd_lower and txd_used at declaration.
  
  Differential Revision:        D3174
  Reviewed by:  erj hiren
  MFC after:    2 weeks
  Sponsored by: Limelight Networks

Modified:
  head/sys/dev/e1000/if_em.c

Modified: head/sys/dev/e1000/if_em.c
==============================================================================
--- head/sys/dev/e1000/if_em.c  Sat Jul 25 18:29:06 2015        (r285878)
+++ head/sys/dev/e1000/if_em.c  Sat Jul 25 19:24:33 2015        (r285879)
@@ -1872,13 +1872,12 @@ em_xmit(struct tx_ring *txr, struct mbuf
        struct ether_header     *eh;
        struct ip               *ip = NULL;
        struct tcphdr           *tp = NULL;
-       u32                     txd_upper, txd_lower, txd_used, txd_saved;
+       u32                     txd_upper = 0, txd_lower = 0, txd_used = 0;
        int                     ip_off, poff;
        int                     nsegs, i, j, first, last = 0;
        int                     error, do_tso, tso_desc = 0, remap = 1;
 
        m_head = *m_headp;
-       txd_upper = txd_lower = txd_used = txd_saved = 0;
        do_tso = ((m_head->m_pkthdr.csum_flags & CSUM_TSO) != 0);
        ip_off = poff = 0;
 
_______________________________________________
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