]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/staging/rtl8192u/ieee80211/ieee80211_module.c
Staging: Drop memory allocation cast
[net-next-2.6.git] / drivers / staging / rtl8192u / ieee80211 / ieee80211_module.c
index b752017a4d18587945613f63bf70ab3d8b210c58..1111002bad9faf5c04659b41766f4416e17dc7ed 100644 (file)
@@ -161,7 +161,7 @@ struct net_device *alloc_ieee80211(int sizeof_priv)
 
        ieee80211_softmac_init(ieee);
 
-       ieee->pHTInfo = (RT_HIGH_THROUGHPUT*)kzalloc(sizeof(RT_HIGH_THROUGHPUT), GFP_KERNEL);
+       ieee->pHTInfo = kzalloc(sizeof(RT_HIGH_THROUGHPUT), GFP_KERNEL);
        if (ieee->pHTInfo == NULL)
        {
                IEEE80211_DEBUG(IEEE80211_DL_ERR, "can't alloc memory for HTInfo\n");