NTB: remove handling of peer_sta from amd_link_is_up
authorArindam Nath <arindam.nath@amd.com>
Wed, 5 Feb 2020 15:54:24 +0000 (21:24 +0530)
committerJon Mason <jdmason@kudzu.us>
Fri, 13 Mar 2020 14:04:20 +0000 (10:04 -0400)
commitfdd8281fb0bc9afddba93672e267aff1b5561215
treec00aac3c00fc8aba2294de3c17c9ce879f2645a7
parent2465b87ce36ea2dbd97e5fb58a0efd284c9f687e
NTB: remove handling of peer_sta from amd_link_is_up

amd_link_is_up() is a callback to inquire whether
the NTB link is up or not. So it should not indulge
itself into clearing the bitmasks of peer_sta.

Signed-off-by: Arindam Nath <arindam.nath@amd.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
drivers/ntb/hw/amd/ntb_hw_amd.c