From: Alexey Dobriyan Date: Thu, 13 Nov 2008 07:25:32 +0000 (-0800) Subject: net: ifdef struct sock::sk_async_wait_queue X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=2378982487c492541d17adc0a870e7e83b07ba43;p=openwrt%2Fstaging%2Fblogic.git net: ifdef struct sock::sk_async_wait_queue Every user is under CONFIG_NET_DMA already, so ifdef field as well. Signed-off-by: Alexey Dobriyan Signed-off-by: David S. Miller --- diff --git a/include/net/sock.h b/include/net/sock.h index 08291c1be41e..8b2b82131b67 100644 --- a/include/net/sock.h +++ b/include/net/sock.h @@ -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;