staging: rtl8192e: Remove extraneous log message
authorLarry Finger <Larry.Finger@lwfinger.net>
Thu, 25 Aug 2011 16:48:13 +0000 (11:48 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 25 Aug 2011 17:05:09 +0000 (10:05 -0700)
The driver logs all DHCP transactions and thus spams the logs.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rtl8192e/rtllib_tx.c

index d03b5aa02cc98c8b9957796cd9e72e623e97598b..7ccad8601821a241f60b7492342d870758270b7e 100644 (file)
@@ -632,15 +632,13 @@ int rtllib_xmit_inter(struct sk_buff *skb, struct net_device *dev)
                        goto success;
                }
 
-               if (skb->len > 282){
+               if (skb->len > 282) {
                        if (ETH_P_IP == ether_type) {
                                const struct iphdr *ip = (struct iphdr *)((u8 *)skb->data+14);
                                if (IPPROTO_UDP == ip->protocol) {
                                        struct udphdr *udp = (struct udphdr *)((u8 *)ip + (ip->ihl << 2));
                                        if (((((u8 *)udp)[1] == 68) && (((u8 *)udp)[3] == 67)) ||
                                            ((((u8 *)udp)[1] == 67) && (((u8 *)udp)[3] == 68))) {
-                                               printk("DHCP pkt src port:%d, dest port:%d!!\n", ((u8 *)udp)[1],((u8 *)udp)[3]);
-
                                                bdhcp = true;
                                                ieee->LPSDelayCnt = 200;
                                        }