Re: [PATCH net-next] net: remove function sk_reset_txq()

2013-10-21 Thread David Miller
From: ZHAO Gang Date: Tue, 22 Oct 2013 12:11:24 +0800 > What sk_reset_txq() does is just calls function sk_tx_queue_reset(), > and sk_reset_txq() is used only in sock.h, by dst_negative_advice(). > Let dst_negative_advice() calls sk_tx_queue_reset() directly so we > can remove unneeded sk_reset_t

[PATCH net-next] net: remove function sk_reset_txq()

2013-10-21 Thread ZHAO Gang
What sk_reset_txq() does is just calls function sk_tx_queue_reset(), and sk_reset_txq() is used only in sock.h, by dst_negative_advice(). Let dst_negative_advice() calls sk_tx_queue_reset() directly so we can remove unneeded sk_reset_txq(). Signed-off-by: ZHAO Gang --- include/net/sock.h | 4 +--