aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/iwn
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2016-02-19 01:57:51 +0000
committerKevin Lo <kevlo@FreeBSD.org>2016-02-19 01:57:51 +0000
commit277db305768ad6765ed735ced43360000c282ed6 (patch)
tree8921656e5b52d400bad35a165858475abef36253 /sys/dev/iwn
parent29899c0add37cfb9149f97d2611ab17a0271299a (diff)
downloadsrc-277db305768ad6765ed735ced43360000c282ed6.tar.gz
src-277db305768ad6765ed735ced43360000c282ed6.zip
Remove bogus cast.
Notes
Notes: svn path=/head/; revision=295788
Diffstat (limited to 'sys/dev/iwn')
-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 c361fe36aeb7..28b7b7f3f88a 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;