summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYonatan Nachum <ynachum@amazon.com>2024-06-24 19:09:15 +0300
committerJason Gunthorpe <jgg@nvidia.com>2024-06-26 18:35:00 +0300
commitfe0812e4bcfa33d640cfd0e2dc99dfeef830fa54 (patch)
tree4dfc8853de7010d584842becf00708cefb54c439
parent47f9b4190a1d9db2db670c01af7deb648073e218 (diff)
downloadlinux-fe0812e4bcfa33d640cfd0e2dc99dfeef830fa54.tar.xz
RDMA/efa: Remove duplicate aenq enable macro
We have the same macro in main and verbs files and we don't use the macro in the verbs file, remove it. Link: https://lore.kernel.org/r/20240624160918.27060-3-mrgolin@amazon.com Reviewed-by: Yossi Leybovich <sleybo@amazon.com> Signed-off-by: Yonatan Nachum <ynachum@amazon.com> Signed-off-by: Michael Margolin <mrgolin@amazon.com> Reviewed-by: Gal Pressman <gal.pressman@linux.dev> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
-rw-r--r--drivers/infiniband/hw/efa/efa_verbs.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/infiniband/hw/efa/efa_verbs.c b/drivers/infiniband/hw/efa/efa_verbs.c
index eee2ae215414..cd1f735d08a7 100644
--- a/drivers/infiniband/hw/efa/efa_verbs.c
+++ b/drivers/infiniband/hw/efa/efa_verbs.c
@@ -26,10 +26,6 @@ enum {
EFA_MMAP_IO_NC,
};
-#define EFA_AENQ_ENABLED_GROUPS \
- (BIT(EFA_ADMIN_FATAL_ERROR) | BIT(EFA_ADMIN_WARNING) | \
- BIT(EFA_ADMIN_NOTIFICATION) | BIT(EFA_ADMIN_KEEP_ALIVE))
-
struct efa_user_mmap_entry {
struct rdma_user_mmap_entry rdma_entry;
u64 address;