]> git.baikalelectronics.ru Git - kernel.git/commit
net/smc: simplify test_link function usage
authorKarsten Graul <kgraul@linux.ibm.com>
Tue, 15 May 2018 15:04:57 +0000 (17:04 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 May 2018 15:49:19 +0000 (11:49 -0400)
commit967612629ec31b99972de1e8d7bd285b1b01d0ed
tree2d9837285f03198604cff31bb72cca294e227dba
parent7754d35153e2def4d6cb096ec952b39a2732db79
net/smc: simplify test_link function usage

Make smc_llc_send_test_link() static and remove it from the header file.
And to send a test_link response set the response flag and send the
message back as-is, without using smc_llc_send_test_link(). And because
smc_llc_send_test_link() must no longer send responses, remove the
response flag handling from the function.

Signed-off-by: Karsten Graul <kgraul@linux.ibm.com>
Signed-off-by: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/smc/smc_llc.c
net/smc/smc_llc.h