Skip to content

Commit 428ac46

Browse files
committed
Remove unnecessary crosslink peer partition setup
The crosslink peer partition setups are unnecessary during crosslink initialization as the crosslink peer may not be ready. Furthermore, these unnecessary setups on a crosslink peer partition may introduce competitions with other setups on the same partition initiated by the peer host.
1 parent e981219 commit 428ac46

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

ntb_hw_switchtec.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1417,10 +1417,6 @@ static int switchtec_ntb_init_crosslink(struct switchtec_ntb *sndev)
14171417
if (rc)
14181418
return rc;
14191419

1420-
crosslink_init_dbmsgs(sndev);
1421-
1422-
crosslink_setup_req_ids(sndev, sndev->mmio_xlink_peer_ctrl);
1423-
14241420
return 0;
14251421
}
14261422

0 commit comments

Comments
 (0)