Remove unused ifaddr local variable in ioctl routine.

MFC after:	3 days
This commit is contained in:
Robert Watson 2009-02-13 00:01:11 +00:00
parent 6d0147064d
commit 86c2bc49cc

View File

@ -1301,7 +1301,6 @@ vlan_trunk_capabilities(struct ifnet *ifp)
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, caddr_t data)
int error = 0;
ifr = (struct ifreq *)data;
ifa = (struct ifaddr *)data;
ifv = ifp->if_softc;
switch (cmd) {