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 08291c1..8b2b821 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;