From: Larry Finger Date: Wed, 13 Jul 2011 14:38:53 +0000 (-0500) Subject: staging: rtl8192e: Remove code dependent of JOHN_DUMP X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=68aee8036c04145742a9e7a00eb78e4da1b35fdc;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git staging: rtl8192e: Remove code dependent of JOHN_DUMP Signed-off-by: Larry Finger --- diff --git a/drivers/staging/rtl8192e/rtllib_crypt_tkip.c b/drivers/staging/rtl8192e/rtllib_crypt_tkip.c index b75b2b4f4f9a..8918aa5760a9 100644 --- a/drivers/staging/rtl8192e/rtllib_crypt_tkip.c +++ b/drivers/staging/rtl8192e/rtllib_crypt_tkip.c @@ -489,17 +489,6 @@ static int rtllib_tkip_decrypt(struct sk_buff *skb, int hdr_len, void *priv) skb_pull(skb, 8); skb_trim(skb, skb->len - 4); -#ifdef JOHN_DUMP -if ( ((u16*)skb->data)[0] & 0x4000){ - printk("@@ rx decrypted skb->data"); - int i; - for (i = 0; i < skb->len; i++) { - if ( (i%24)==0 ) printk("\n"); - printk("%2x ", ((u8*)skb->data)[i]); - } - printk("\n"); -} -#endif /*JOHN_DUMP*/ return keyidx; }