really minor cleanup

sc is set to ifp->if_softc so use it..
This commit is contained in:
Julian Elischer 1997-02-11 09:29:48 +00:00
parent c139dc1fcf
commit db03b748e3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=22557
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);