[PATCH 08/10] drop unused global variable pocl_num_device_types
authorAndreas Beckmann <anbe@debian.org>
Fri, 5 Feb 2021 16:47:39 +0000 (17:47 +0100)
committerAndreas 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

index 9c1fc6fa48c53c8090389156d06881fe18acc67c..1b26f3a86cefedcb1ebd0f384c56dde8b9a8bf24 100644 (file)
@@ -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*);