svn commit: r295788 - head/sys/dev/iwn

Kevin Lo kevlo at FreeBSD.org
Fri Feb 19 01:57:53 UTC 2016


Author: kevlo
Date: Fri Feb 19 01:57:51 2016
New Revision: 295788
URL: https://svnweb.freebsd.org/changeset/base/295788

Log:
  Remove bogus cast.

Modified:
  head/sys/dev/iwn/if_iwn.c

Modified: head/sys/dev/iwn/if_iwn.c
==============================================================================
--- head/sys/dev/iwn/if_iwn.c	Fri Feb 19 01:56:59 2016	(r295787)
+++ head/sys/dev/iwn/if_iwn.c	Fri Feb 19 01:57:51 2016	(r295788)
@@ -417,7 +417,7 @@ iwn_is_3stream_device(struct iwn_softc *
 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;
 


More information about the svn-src-head mailing list