]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
net: ifdef struct sock::sk_async_wait_queue
authorAlexey Dobriyan <adobriyan@gmail.com>
Thu, 13 Nov 2008 07:25:32 +0000 (23:25 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Nov 2008 07:25:32 +0000 (23:25 -0800)
Every user is under CONFIG_NET_DMA already, so ifdef field as well.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sock.h

index 08291c1be41eb4143b8fd60326838548690e3532..8b2b82131b6785cdb306af154a414e97f6215d49 100644 (file)
@@ -239,7 +239,9 @@ struct sock {
        int                     sk_sndbuf;
        struct sk_buff_head     sk_receive_queue;
        struct sk_buff_head     sk_write_queue;
+#ifdef CONFIG_NET_DMA
        struct sk_buff_head     sk_async_wait_queue;
+#endif
        int                     sk_wmem_queued;
        int                     sk_forward_alloc;
        gfp_t                   sk_allocation;