]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/staging/wlan-ng/hfa384x_usb.c
net: manual clean code which call skb_put_[data:zero]
[mirror_ubuntu-artful-kernel.git] / drivers / staging / wlan-ng / hfa384x_usb.c
index 1de67f209f2ca3b359c0e8678a2d0f6b950413a1..83ea8ab4f2f4c0dce2f46a2aba17209d71aadfa7 100644 (file)
@@ -3530,7 +3530,7 @@ static void hfa384x_int_rxmonitor(struct wlandevice *wlandev,
        /* Copy the 802.11 header to the skb
         * (ctl frames may be less than a full header)
         */
-       datap = skb_put_data(skb, &rxdesc->frame_control, hdrlen);
+       skb_put_data(skb, &rxdesc->frame_control, hdrlen);
 
        /* If any, copy the data from the card to the skb */
        if (datalen > 0) {