mv_rtc_attach: eliminate write only unit variable
Sponsored by: Netflix
This commit is contained in:
@@ -208,9 +208,7 @@ static int
|
|||||||
mv_rtc_attach(device_t dev)
|
mv_rtc_attach(device_t dev)
|
||||||
{
|
{
|
||||||
struct mv_rtc_softc *sc;
|
struct mv_rtc_softc *sc;
|
||||||
int unit, ret;
|
int ret;
|
||||||
|
|
||||||
unit = device_get_unit(dev);
|
|
||||||
|
|
||||||
sc = device_get_softc(dev);
|
sc = device_get_softc(dev);
|
||||||
sc->dev = dev;
|
sc->dev = dev;
|
||||||
|
|||||||
Reference in New Issue
Block a user