RDMA/efa: Remove duplicate aenq enable macro
authorYonatan Nachum <ynachum@amazon.com>
Mon, 24 Jun 2024 16:09:15 +0000 (16:09 +0000)
committerJason Gunthorpe <jgg@nvidia.com>
Wed, 26 Jun 2024 15:35:00 +0000 (12:35 -0300)
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>
drivers/infiniband/hw/efa/efa_verbs.c

index eee2ae215414b63102e42ba5d75cb86190c77410..cd1f735d08a76a94a015061a3645b715b5c401c7 100644 (file)
@@ -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;