aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/ccree/cc_hw_queue_defs.h
diff options
context:
space:
mode:
authorGilad Ben-Yossef <gilad@benyossef.com>2017-11-13 14:45:52 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-11-27 09:20:40 +0100
commitd5a2a8186854982d6eeee6cf1c66ba5e5fe64125 (patch)
tree20ba9e4b8b86dc301f45c0dd2a06282e8d7a906f /drivers/staging/ccree/cc_hw_queue_defs.h
parentstaging: ccree: use local vars for readability (diff)
downloadlinux-dev-d5a2a8186854982d6eeee6cf1c66ba5e5fe64125.tar.xz
linux-dev-d5a2a8186854982d6eeee6cf1c66ba5e5fe64125.zip
staging: ccree: drop unused macro
The CC_REG_NAME macro is unused. Drop it. Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ccree/cc_hw_queue_defs.h')
-rw-r--r--drivers/staging/ccree/cc_hw_queue_defs.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/ccree/cc_hw_queue_defs.h b/drivers/staging/ccree/cc_hw_queue_defs.h
index 2ae0f655e7a0..c5aaa79dcfc0 100644
--- a/drivers/staging/ccree/cc_hw_queue_defs.h
+++ b/drivers/staging/ccree/cc_hw_queue_defs.h
@@ -30,8 +30,6 @@
/* Define max. available slots in HW queue */
#define HW_QUEUE_SLOTS_MAX 15
-#define CC_REG_NAME(word, name) DX_DSCRPTR_QUEUE_WORD ## word ## _ ## name
-
#define CC_REG_LOW(word, name) \
(DX_DSCRPTR_QUEUE_WORD ## word ## _ ## name ## _BIT_SHIFT)