Skip to content

Commit ca74b59

Browse files
authored
Delete redundant source code (triton-inference-server#49)
* api_version_major and api_version_minor are already initialized in line 1029 Signed-off-by: Sangwon Hong <[email protected]>
1 parent c3dde13 commit ca74b59

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/python.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1036,7 +1036,6 @@ TRITONBACKEND_Initialize(TRITONBACKEND_Backend* backend)
10361036
std::to_string(TRITONBACKEND_API_VERSION_MINOR))
10371037
.c_str());
10381038

1039-
TRITONBACKEND_ApiVersion(&api_version_major, &api_version_minor);
10401039
if ((api_version_major != TRITONBACKEND_API_VERSION_MAJOR) ||
10411040
(api_version_minor < TRITONBACKEND_API_VERSION_MINOR)) {
10421041
return TRITONSERVER_ErrorNew(

0 commit comments

Comments
 (0)