Skip to content

Commit 32cc5d0

Browse files
committed
Remove link status update when enabling link
The link status update when enabling link is unnecessary as it will finally be updated when a MSG_CHECK_LINK message is received from peer when the peer is ready.
1 parent 428ac46 commit 32cc5d0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

ntb_hw_switchtec.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -688,8 +688,6 @@ static int switchtec_ntb_link_enable(struct ntb_dev *ntb,
688688
sndev->self_shared->link_sta = 1;
689689
switchtec_ntb_send_msg(sndev, LINK_MESSAGE, MSG_LINK_UP);
690690

691-
switchtec_ntb_link_status_update(sndev);
692-
693691
return 0;
694692
}
695693

0 commit comments

Comments
 (0)