From d973ddac8b380fecffbae46bf441db1e806dc438 Mon Sep 17 00:00:00 2001 From: void-main Date: Thu, 18 Feb 2021 11:16:31 +0800 Subject: [PATCH] remove unused basePath [ROCm/rccl commit: 445bc1965720787aa19c8fc1c0bf62db43db2dda] --- projects/rccl/src/graph/paths.cc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/projects/rccl/src/graph/paths.cc b/projects/rccl/src/graph/paths.cc index 64c54df37d..0afbe6a6a4 100644 --- a/projects/rccl/src/graph/paths.cc +++ b/projects/rccl/src/graph/paths.cc @@ -41,11 +41,6 @@ static ncclResult_t ncclTopoSetPaths(struct ncclTopoNode* baseNode, struct ncclT struct ncclTopoNodeList nextNodeList; nodeList.count = 1; nodeList.list[0] = baseNode; nextNodeList.count = 0; - struct ncclTopoLinkList* basePath; - NCCLCHECK(getPath(system, baseNode, baseNode->type, baseNode->id, &basePath)); - basePath->count = 0; - basePath->width = LOC_WIDTH; - basePath->type = PATH_LOC; while (nodeList.count) { nextNodeList.count = 0;