net/smc: move the TEST_LINK response processing into event handler
authorKarsten Graul <kgraul@linux.ibm.com>
Thu, 30 Apr 2020 13:55:46 +0000 (15:55 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Apr 2020 19:44:33 +0000 (12:44 -0700)
commit56e8091c7a098ef2257f85f16665d79cf3049da9
treed040ef5b72bb6cef0c87b581d476fd18fff1c158
parent6d74c3a8a3e7a488a7d9d8c4a59091ccae72fc4c
net/smc: move the TEST_LINK response processing into event handler

Get rid of the extra function and move the two-liner for the TEST_LINK
response processing into the event handler function.

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