]> git.neil.brown.name Git - history.git/commitdiff
[hamradio bpqether] fix ancient debug line
authorJeroen Vreeken <pe1rxq@amsat.org>
Tue, 14 Oct 2003 10:07:24 +0000 (06:07 -0400)
committerStephen Hemminger <shemminger@osdl.org>
Tue, 14 Oct 2003 10:07:24 +0000 (06:07 -0400)
removes a verry old debug line from the bpqethernet driver that
only fills logs.

drivers/net/hamradio/bpqether.c

index 39cd1e6e487a42e798c9455e41d6131ebdf833c2..93865624e6210171906a00ebe5e853265a09b856 100644 (file)
@@ -196,12 +196,8 @@ static int bpq_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_ty
        eth = (struct ethhdr *)skb->mac.raw;
 
        if (!(bpq->acpt_addr[0] & 0x01) &&
-           memcmp(eth->h_source, bpq->acpt_addr, ETH_ALEN)) {
-               if (net_ratelimit())
-                       printk(KERN_DEBUG "bpqether: wrong dest %s\n",
-                              bpq_print_ethaddr(eth->h_source));
+           memcmp(eth->h_source, bpq->acpt_addr, ETH_ALEN))
                goto drop_unlock;
-       }
 
        if (skb_cow(skb, sizeof(struct ethhdr)))
                goto drop_unlock;