]> err.no Git - linux-2.6/commit
[NET]: Transform skb_queue_len() binary tests into skb_queue_empty()
authorDavid S. Miller <davem@davemloft.net>
Fri, 8 Jul 2005 21:57:23 +0000 (14:57 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Jul 2005 21:57:23 +0000 (14:57 -0700)
commitb03efcfb2180289718991bb984044ce6c5b7d1b0
treef3b0c6c4eaf0991c28b7116a20994b48398eea57
parenta92b7b80579fe68fe229892815c750f6652eb6a9
[NET]: Transform skb_queue_len() binary tests into skb_queue_empty()

This is part of the grand scheme to eliminate the qlen
member of skb_queue_head, and subsequently remove the
'list' member of sk_buff.

Most users of skb_queue_len() want to know if the queue is
empty or not, and that's trivially done with skb_queue_empty()
which doesn't use the skb_queue_head->qlen member and instead
uses the queue list emptyness as the test.

Signed-off-by: David S. Miller <davem@davemloft.net>
34 files changed:
drivers/bluetooth/hci_vhci.c
drivers/isdn/hisax/isdnl1.c
drivers/isdn/hisax/isdnl2.c
drivers/isdn/hisax/isdnl3.c
drivers/isdn/i4l/isdn_tty.c
drivers/isdn/icn/icn.c
drivers/net/hamradio/scc.c
drivers/net/ppp_async.c
drivers/net/ppp_generic.c
drivers/net/ppp_synctty.c
drivers/net/tun.c
drivers/net/wireless/airo.c
drivers/s390/net/claw.c
drivers/s390/net/ctctty.c
drivers/usb/net/usbnet.c
include/net/irda/irda_device.h
include/net/tcp.h
net/bluetooth/cmtp/core.c
net/bluetooth/hidp/core.c
net/bluetooth/rfcomm/sock.c
net/bluetooth/rfcomm/tty.c
net/decnet/af_decnet.c
net/decnet/dn_nsp_out.c
net/ipv4/tcp.c
net/ipv4/tcp_input.c
net/ipv4/tcp_timer.c
net/irda/irlap.c
net/irda/irlap_event.c
net/irda/irlap_frame.c
net/irda/irttp.c
net/llc/llc_c_ev.c
net/netlink/af_netlink.c
net/sched/sch_red.c
net/unix/af_unix.c