svn commit: r188545 - head/sys/dev/cm

Robert Watson rwatson at FreeBSD.org
Thu Feb 12 15:55:36 PST 2009


Author: rwatson
Date: Thu Feb 12 23:55:35 2009
New Revision: 188545
URL: http://svn.freebsd.org/changeset/base/188545

Log:
  Remove unused ifaddr and ifreq local variables.
  
  MFC after:	3 days

Modified:
  head/sys/dev/cm/smc90cx6.c

Modified: head/sys/dev/cm/smc90cx6.c
==============================================================================
--- head/sys/dev/cm/smc90cx6.c	Thu Feb 12 23:54:07 2009	(r188544)
+++ head/sys/dev/cm/smc90cx6.c	Thu Feb 12 23:55:35 2009	(r188545)
@@ -861,14 +861,10 @@ cm_ioctl(ifp, command, data)
 	caddr_t data;
 {
 	struct cm_softc *sc;
-	struct ifaddr *ifa;
-	struct ifreq *ifr;
 	int error;
 
 	error = 0;
 	sc = ifp->if_softc;
-	ifa = (struct ifaddr *)data;
-	ifr = (struct ifreq *)data;
 
 #if defined(CM_DEBUG) && (CM_DEBUG > 2)
 	if_printf(ifp, "ioctl() called, cmd = 0x%lx\n", command);


More information about the svn-src-head mailing list