]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: remove temporary variable confirm from sctp_packet_transmit
authorXin Long <lucien.xin@gmail.com>
Sat, 18 Mar 2017 11:12:22 +0000 (19:12 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Mar 2017 01:31:02 +0000 (18:31 -0700)
commit3d64f5c1b0475d3e8e2f6575b4c5c0e24ce0376c
treecb69f4049539069ab2a592b437e5f4493c5dd4e1
parent98ef3e9cf7e6d0c9b8d131a5138e105eb8256e1f
sctp: remove temporary variable confirm from sctp_packet_transmit

Commit 6b7c06d7adc8 ("sctp: add dst_pending_confirm flag") introduced
a temporary variable "confirm" in sctp_packet_transmit.

But it broke the rule that longer lines should be above shorter ones.
Besides, this variable is not necessary, so this patch is to just
remove it and use tp->dst_pending_confirm directly.

Fixes: 6b7c06d7adc8 ("sctp: add dst_pending_confirm flag")
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/output.c