net: remove redundant check for timer pending state before del_timer
authorYing Xue <ying.xue@windriver.com>
Sun, 3 Feb 2013 20:32:57 +0000 (20:32 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Feb 2013 18:26:49 +0000 (13:26 -0500)
commit25cc4ae913a46bcc11b03c37bec59568f2122a36
tree0a69dfa2c245d48fb44c6f2ab8e93587cf8516a7
parent2b3c9a850c3f2da7430c39dde0fb5cab56f8501d
net: remove redundant check for timer pending state before del_timer

As in del_timer() there has already placed a timer_pending() function
to check whether the timer to be deleted is pending or not, it's
unnecessary to check timer pending state again before del_timer() is
called.

Signed-off-by: Ying Xue <ying.xue@windriver.com>
Cc: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bluetooth/rfcomm/core.c
net/bridge/netfilter/ebt_ulog.c
net/core/sock.c
net/ipv4/netfilter/ipt_ULOG.c
net/irda/af_irda.c
net/netfilter/ipvs/ip_vs_conn.c
net/sctp/associola.c
net/sctp/input.c
net/sctp/outqueue.c
net/sctp/sm_sideeffect.c
net/sctp/transport.c