projects
/
pocl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7710fa5
)
[PATCH 08/10] drop unused global variable pocl_num_device_types
author
Andreas Beckmann
<anbe@debian.org>
Fri, 5 Feb 2021 16:47:39 +0000
(17:47 +0100)
committer
Andreas Beckmann
<anbe@debian.org>
Tue, 16 Feb 2021 10:00:57 +0000
(10:00 +0000)
Gbp-Pq: Name 0008-drop-unused-global-variable-pocl_num_device_types.patch
lib/CL/devices/devices.c
patch
|
blob
|
history
diff --git
a/lib/CL/devices/devices.c
b/lib/CL/devices/devices.c
index 9c1fc6fa48c53c8090389156d06881fe18acc67c..1b26f3a86cefedcb1ebd0f384c56dde8b9a8bf24 100644
(file)
--- a/
lib/CL/devices/devices.c
+++ b/
lib/CL/devices/devices.c
@@
-80,7
+80,6
@@
/* the enabled devices */
static struct _cl_device_id* pocl_devices = NULL;
unsigned int pocl_num_devices = 0;
-unsigned int pocl_num_device_types = 0;
/* Init function prototype */
typedef void (*init_device_ops)(struct pocl_device_ops*);