]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitd97935faee4ba2cc37676afd955e9f519a5affbf
tree2d9837285f03198604cff31bb72cca294e227dba
parent9fcdf8e983b5c8367064067cd8e74b6cfb90eef7
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