From 016454cd01b7f05bdcb8f1178759fc12e68d6c03 Mon Sep 17 00:00:00 2001
From: foreman
Date: Fri, 21 Sep 2018 15:34:52 -0400
Subject: [PATCH] P4 to Git Change 1609437 by kzhuravl@kzhuravl-fiji-ocllc-2 on
2018/09/21 15:26:55
SWDEV-79445 - Follow up for CL 1609403: clinfo: return EXIT_SUCCESS on success, EXIT_FAILURE on failure:
- Purge status
- Return EXIT_SUCCESS
Affected files ...
... //depot/stg/opencl/drivers/opencl/tools/clinfo/clinfo.cpp#7 edit
---
opencl/tools/clinfo/clinfo.cpp | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/opencl/tools/clinfo/clinfo.cpp b/opencl/tools/clinfo/clinfo.cpp
index bcb2482b96..c5afb7f75c 100644
--- a/opencl/tools/clinfo/clinfo.cpp
+++ b/opencl/tools/clinfo/clinfo.cpp
@@ -125,7 +125,6 @@ int
main(int argc, char** argv)
{
/* Error flag */
- cl_int status = 0;
cl_int err;
//parse input
@@ -829,5 +828,5 @@ main(int argc, char** argv)
return EXIT_FAILURE;
}
- return status;
+ return EXIT_SUCCESS;
}