Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Feb 2009 23:55:35 +0000 (UTC)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r188545 - head/sys/dev/cm
Message-ID:  <200902122355.n1CNtZXa070506@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902122355.n1CNtZXa070506>