Remove unused ifaddr local variable in ioctl routine.
MFC after: 3 days
This commit is contained in:
parent
6d0147064d
commit
86c2bc49cc
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user