net: remove function sk_reset_txq()
authorZHAO Gang <gamerh2o@gmail.com>
Tue, 22 Oct 2013 08:23:38 +0000 (16:23 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Oct 2013 18:00:21 +0000 (14:00 -0400)
commit0a6957e7d47096bbeedda4e1d926359eb487dcfc
tree4e780bf47cde19ad48dda7bd108221c60d8544e7
parent1a0176da63438f3643a65adb370abf11760ffba9
net: remove function sk_reset_txq()

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 <gamerh2o@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sock.h
net/core/sock.c