really minor cleanup

sc is set to ifp->if_softc so use it..
This commit is contained in:
julian 1997-02-11 09:29:48 +00:00
parent 73d6ab51ee
commit b139405b95
2 changed files with 2 additions and 2 deletions

View File

@ -2639,7 +2639,7 @@ ed_ioctl(ifp, command, data)
*/
if (ifp->if_flags & IFF_UP) {
if ((ifp->if_flags & IFF_RUNNING) == 0)
ed_init(ifp->if_softc);
ed_init(sc);
} else {
if (ifp->if_flags & IFF_RUNNING) {
ed_stop(sc);

View File

@ -2639,7 +2639,7 @@ ed_ioctl(ifp, command, data)
*/
if (ifp->if_flags & IFF_UP) {
if ((ifp->if_flags & IFF_RUNNING) == 0)
ed_init(ifp->if_softc);
ed_init(sc);
} else {
if (ifp->if_flags & IFF_RUNNING) {
ed_stop(sc);