Remove unused variables.

CID:	1262431
CID:	1262430
This commit is contained in:
glebius 2015-01-13 06:56:04 +00:00
parent ea3ccc36bd
commit ce8e636b33
2 changed files with 0 additions and 4 deletions

View File

@ -100,10 +100,8 @@ jmphy_probe(device_t dev)
static int
jmphy_attach(device_t dev)
{
struct mii_attach_args *ma;
u_int flags;
ma = device_get_ivars(dev);
flags = 0;
if (mii_dev_mac_match(dev, "jme") &&
(miibus_get_flags(dev) & MIIF_MACPRIV0) != 0)

View File

@ -113,11 +113,9 @@ static int
rgephy_attach(device_t dev)
{
struct mii_softc *sc;
struct mii_attach_args *ma;
u_int flags;
sc = device_get_softc(dev);
ma = device_get_ivars(dev);
flags = 0;
if (mii_dev_mac_match(dev, "re"))
flags |= MIIF_PHYPRIV0;