From: jsg Date: Mon, 28 Feb 2022 09:01:29 +0000 (+0000) Subject: remove some unused defines X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=8a3b2dae30a0773e8e895dda64bace748fdb63b0;p=openbsd remove some unused defines --- diff --git a/sys/dev/pci/drm/include/linux/pm_qos.h b/sys/dev/pci/drm/include/linux/pm_qos.h index ae4939d3884..0f4e68d31c7 100644 --- a/sys/dev/pci/drm/include/linux/pm_qos.h +++ b/sys/dev/pci/drm/include/linux/pm_qos.h @@ -8,10 +8,6 @@ struct pm_qos_request { #define PM_QOS_DEFAULT_VALUE -1 -#define pm_qos_update_request(a, b) -#define pm_qos_add_request(a, b, c) -#define pm_qos_remove_request(a) - #define cpu_latency_qos_update_request(a, b) #define cpu_latency_qos_add_request(a, b) #define cpu_latency_qos_remove_request(a) diff --git a/sys/dev/pci/drm/include/linux/radix-tree.h b/sys/dev/pci/drm/include/linux/radix-tree.h index e656a7711c9..72d4d1fbf9e 100644 --- a/sys/dev/pci/drm/include/linux/radix-tree.h +++ b/sys/dev/pci/drm/include/linux/radix-tree.h @@ -41,8 +41,6 @@ howmany(sizeof(long) * NBBY, RADIX_TREE_MAP_SHIFT) #define RADIX_TREE_ENTRY_MASK 3UL -#define RADIX_TREE_EXCEPTIONAL_ENTRY 2UL -#define RADIX_TREE_EXCEPTIONAL_SHIFT 2 struct radix_tree_node { void *slots[RADIX_TREE_MAP_SIZE];