net: Optimize hard_start_xmit() return checking
[linux-2.6.git] / net / core / request_sock.c
index 2d3035d..7552495 100644 (file)
@@ -123,7 +123,7 @@ void reqsk_queue_destroy(struct request_sock_queue *queue)
                }
        }
 
-       BUG_TRAP(lopt->qlen == 0);
+       WARN_ON(lopt->qlen != 0);
        if (lopt_size > PAGE_SIZE)
                vfree(lopt);
        else