svn commit: r316583 - in head/sys/dev: ex ixgb

Ed Maste emaste at FreeBSD.org
Thu Apr 6 17:16:42 UTC 2017


Author: emaste
Date: Thu Apr  6 17:16:41 2017
New Revision: 316583
URL: https://svnweb.freebsd.org/changeset/base/316583

Log:
  remove archaic register keyword from ixgb and ex
  
  Reviewed by:	sbruno

Modified:
  head/sys/dev/ex/if_ex.c
  head/sys/dev/ixgb/if_ixgb.c

Modified: head/sys/dev/ex/if_ex.c
==============================================================================
--- head/sys/dev/ex/if_ex.c	Thu Apr  6 17:08:59 2017	(r316582)
+++ head/sys/dev/ex/if_ex.c	Thu Apr  6 17:16:41 2017	(r316583)
@@ -812,7 +812,7 @@ rx_another: ;
 
 
 static int
-ex_ioctl(register struct ifnet *ifp, u_long cmd, caddr_t data)
+ex_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
 {
 	struct ex_softc *	sc = ifp->if_softc;
 	struct ifreq *		ifr = (struct ifreq *)data;

Modified: head/sys/dev/ixgb/if_ixgb.c
==============================================================================
--- head/sys/dev/ixgb/if_ixgb.c	Thu Apr  6 17:08:59 2017	(r316582)
+++ head/sys/dev/ixgb/if_ixgb.c	Thu Apr  6 17:16:41 2017	(r316583)
@@ -1777,7 +1777,7 @@ static int
 ixgb_get_buf(int i, struct adapter * adapter,
 	     struct mbuf * nmp)
 {
-	register struct mbuf *mp = nmp;
+	struct mbuf *mp = nmp;
 	struct ixgb_buffer *rx_buffer;
 	struct ifnet   *ifp;
 	bus_addr_t      paddr;


More information about the svn-src-all mailing list