Remove unused variables.
CID: 1262431 CID: 1262430
This commit is contained in:
parent
ea3ccc36bd
commit
ce8e636b33
@ -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)
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user