diff options
| author | Hartmut Brandt <harti@FreeBSD.org> | 2005-07-01 10:45:02 +0000 |
|---|---|---|
| committer | Hartmut Brandt <harti@FreeBSD.org> | 2005-07-01 10:45:02 +0000 |
| commit | 4df70a92b51f9f592b8fb61684b62890e4051db9 (patch) | |
| tree | a3f8b55d445efe6a695d631e2472f56742fe4dbb /sys/dev/fatm | |
| parent | e5610d524c3acfb6cfcdcacbf8987f1d744be6e0 (diff) | |
Notes
Diffstat (limited to 'sys/dev/fatm')
| -rw-r--r-- | sys/dev/fatm/if_fatm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/fatm/if_fatm.c b/sys/dev/fatm/if_fatm.c index 4842db4b4456..25c2f78a707b 100644 --- a/sys/dev/fatm/if_fatm.c +++ b/sys/dev/fatm/if_fatm.c @@ -2054,7 +2054,7 @@ fatm_start(struct ifnet *ifp) u_int mlen, vpi, vci; struct card_vcc *vc; - sc = (struct fatm_softc *)ifp->if_softc; + sc = ifp->if_softc; while (1) { IF_DEQUEUE(&ifp->if_snd, m); @@ -2544,7 +2544,7 @@ fatm_detach(device_t dev) struct fatm_softc *sc; struct txqueue *tx; - sc = (struct fatm_softc *)device_get_softc(dev); + sc = device_get_softc(dev); if (device_is_alive(dev)) { FATM_LOCK(sc); |
