svn commit: r188546 - head/sys/net

Robert Watson rwatson at FreeBSD.org
Thu Feb 12 16:01:12 PST 2009


Author: rwatson
Date: Fri Feb 13 00:01:11 2009
New Revision: 188546
URL: http://svn.freebsd.org/changeset/base/188546

Log:
  Remove unused ifaddr local variable in ioctl routine.
  
  MFC after:	3 days

Modified:
  head/sys/net/if_vlan.c

Modified: head/sys/net/if_vlan.c
==============================================================================
--- head/sys/net/if_vlan.c	Thu Feb 12 23:55:35 2009	(r188545)
+++ head/sys/net/if_vlan.c	Fri Feb 13 00:01:11 2009	(r188546)
@@ -1301,7 +1301,6 @@ vlan_trunk_capabilities(struct ifnet *if
 static int
 vlan_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
 {
-	struct ifaddr *ifa;
 	struct ifnet *p;
 	struct ifreq *ifr;
 	struct ifvlan *ifv;
@@ -1309,7 +1308,6 @@ vlan_ioctl(struct ifnet *ifp, u_long cmd
 	int error = 0;
 
 	ifr = (struct ifreq *)data;
-	ifa = (struct ifaddr *)data;
 	ifv = ifp->if_softc;
 
 	switch (cmd) {


More information about the svn-src-all mailing list