Revert "staging: r8712u: Tracking kmemleak false positives."
[linux-2.6-microblaze.git] / drivers / staging / rtl8712 / rtl871x_recv.c
index de9a568..4db7eed 100644 (file)
@@ -17,9 +17,7 @@
 #define _RTL871X_RECV_C_
 
 #include <linux/ip.h>
-#include <linux/slab.h>
 #include <linux/if_ether.h>
-#include <linux/kmemleak.h>
 #include <linux/etherdevice.h>
 #include <linux/ieee80211.h>
 #include <net/cfg80211.h>
@@ -61,7 +59,6 @@ void _r8712_init_recv_priv(struct recv_priv *precvpriv,
                                GFP_ATOMIC);
        if (!precvpriv->pallocated_frame_buf)
                return;
-       kmemleak_not_leak(precvpriv->pallocated_frame_buf);
        precvpriv->precv_frame_buf = precvpriv->pallocated_frame_buf +
                                    RXFRAME_ALIGN_SZ -
                                    ((addr_t)(precvpriv->pallocated_frame_buf) &