wireless: Remove casts to same type
[deliverable/linux.git] / drivers / net / wireless / rtlwifi / base.c
index f4c852c6749bea3e770dd79c707a609ad2072ebd..58e1f7bb4df1076cf936f1781833463dce91434b 100644 (file)
@@ -907,7 +907,7 @@ bool rtl_action_proc(struct ieee80211_hw *hw, struct sk_buff *skb, u8 is_tx)
        struct ieee80211_hdr *hdr = rtl_get_hdr(skb);
        struct rtl_priv *rtlpriv = rtl_priv(hw);
        __le16 fc = hdr->frame_control;
-       u8 *act = (u8 *) (((u8 *) skb->data + MAC80211_3ADDR_LEN));
+       u8 *act = (u8 *)skb->data + MAC80211_3ADDR_LEN;
        u8 category;
 
        if (!ieee80211_is_action(fc))
This page took 0.02504 seconds and 5 git commands to generate.