summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2016-02-19 01:57:51 +0000
committerkevlo <kevlo@FreeBSD.org>2016-02-19 01:57:51 +0000
commit4e592305cb4c9a17486ac8884e958a3001479d88 (patch)
tree8921656e5b52d400bad35a165858475abef36253
parent2c479e839037f97398e0f9b8aaf580ac8ee1cd89 (diff)
downloadFreeBSD-src-4e592305cb4c9a17486ac8884e958a3001479d88.zip
FreeBSD-src-4e592305cb4c9a17486ac8884e958a3001479d88.tar.gz
Remove bogus cast.
-rw-r--r--sys/dev/iwn/if_iwn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/iwn/if_iwn.c b/sys/dev/iwn/if_iwn.c
index c361fe3..28b7b7f 100644
--- a/sys/dev/iwn/if_iwn.c
+++ b/sys/dev/iwn/if_iwn.c
@@ -417,7 +417,7 @@ iwn_is_3stream_device(struct iwn_softc *sc)
static int
iwn_attach(device_t dev)
{
- struct iwn_softc *sc = (struct iwn_softc *)device_get_softc(dev);
+ struct iwn_softc *sc = device_get_softc(dev);
struct ieee80211com *ic;
int i, error, rid;
OpenPOWER on IntegriCloud