]> git.baikalelectronics.ru Git - kernel.git/commit
RDS: TCP: Reduce code duplication in rds_tcp_reset_callbacks()
authorSowmini Varadhan <sowmini.varadhan@oracle.com>
Thu, 14 Jul 2016 10:51:02 +0000 (03:51 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Jul 2016 18:36:58 +0000 (11:36 -0700)
commite6f1c90ba51e12c49e17eea25561b46302d55212
treeb02332925e9e0796bbb5e9228993beb217b2cfe3
parent65b8f5824c6db30ff786acd3e9f004aff77a62a9
RDS: TCP: Reduce code duplication in rds_tcp_reset_callbacks()

Some code duplication in rds_tcp_reset_callbacks() can be avoided
by having the function call rds_tcp_restore_callbacks() and
rds_tcp_set_callbacks().

Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rds/tcp.c