]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: eliminate duplicated discard_rx_queue routine
authorYing Xue <ying.xue@windriver.com>
Sun, 20 Jan 2013 22:30:08 +0000 (23:30 +0100)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 15 Feb 2013 21:10:13 +0000 (16:10 -0500)
commitaf2c721bac550ff7bf631127b97e7e844fe87fcf
tree0d6915d5ef8b851d6099fcdf49d342f1ea5d254f
parent03e8bf6d1c5ad705b7533f21e338818b5a3f073e
tipc: eliminate duplicated discard_rx_queue routine

The tipc function discard_rx_queue() is just a duplicated
implementation of __skb_queue_purge().  Remove the former
and directly invoke __skb_queue_purge().

In doing so, the underscores convey to the code reader, more
information about the current locking state that is assumed.

Signed-off-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
net/tipc/socket.c