]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/staging/rt2860/common/cmm_mac_usb.c
Staging: Drop memory allocation cast
[mv-sheeva.git] / drivers / staging / rt2860 / common / cmm_mac_usb.c
index 9dd6959cd5a58477ffca262a7d05a660a4de4606..8aec70fc20d6ca0ae6159d08d5e11b4aad832e13 100644 (file)
@@ -1087,7 +1087,7 @@ void RT28xxUsbMlmeRadioOFF(struct rt_rtmp_adapter *pAd)
                if (INFRA_ON(pAd) || ADHOC_ON(pAd)) {
                        struct rt_mlme_disassoc_req DisReq;
                        struct rt_mlme_queue_elem *pMsgElem =
-                           (struct rt_mlme_queue_elem *)kmalloc(sizeof(struct rt_mlme_queue_elem),
+                           kmalloc(sizeof(struct rt_mlme_queue_elem),
                                                        MEM_ALLOC_FLAG);
 
                        if (pMsgElem) {