networking: make skb_push & __skb_push return void pointers
[GitHub/moto-9609/android_kernel_motorola_exynos9610.git] / drivers / net / wireless / realtek / rtlwifi / rtl8192cu / trx.c
index 41422e4da8b70473a64b25e8267e7ccc9a55983a..de6c3428f7c6e3a421638d0b69648b514a1677a9 100644 (file)
@@ -512,7 +512,7 @@ void rtl92cu_tx_fill_desc(struct ieee80211_hw *hw,
 
        seq_number = (le16_to_cpu(hdr->seq_ctrl) & IEEE80211_SCTL_SEQ) >> 4;
        rtl_get_tcb_desc(hw, info, sta, skb, tcb_desc);
-       txdesc = (u8 *)skb_push(skb, RTL_TX_HEADER_SIZE);
+       txdesc = skb_push(skb, RTL_TX_HEADER_SIZE);
        memset(txdesc, 0, RTL_TX_HEADER_SIZE);
        SET_TX_DESC_PKT_SIZE(txdesc, pktlen);
        SET_TX_DESC_LINIP(txdesc, 0);