]> Git Repo - qemu.git/commitdiff
hw/rdma: Delete duplicate definition of MAX_RM_TBL_NAME
authorYuval Shaia <[email protected]>
Mon, 30 Apr 2018 20:02:22 +0000 (23:02 +0300)
committerMarcel Apfelbaum <[email protected]>
Thu, 3 May 2018 17:52:29 +0000 (20:52 +0300)
By a mistake this constant was defined twice - remove the duplication.

Signed-off-by: Yuval Shaia <[email protected]>
Reviewed-by: Marcel Apfelbaum <[email protected]>
Message-Id: <20180430200223[email protected]>

hw/rdma/rdma_rm.c
hw/rdma/rdma_rm_defs.h

index 51a47d729228e9b9a1383b9075fcf9807b5f1612..415da15efef98a4b76f2238c72b368d359a17034 100644 (file)
@@ -21,8 +21,6 @@
 #include "rdma_backend.h"
 #include "rdma_rm.h"
 
-#define MAX_RM_TBL_NAME 16
-
 /* Page directory and page tables */
 #define PG_DIR_SZ { TARGET_PAGE_SIZE / sizeof(__u64) }
 #define PG_TBL_SZ { TARGET_PAGE_SIZE / sizeof(__u64) }
index 4d22a20e4cf1a2c09f4bf6fdbed0085919bc2939..226011176d59af4c13954b91bb991b4b1a7c9b0c 100644 (file)
@@ -34,9 +34,9 @@
 #define MAX_QP_INIT_RD_ATOM   16
 #define MAX_AH                64
 
-#define MAX_RMRESTBL_NAME_SZ 16
+#define MAX_RM_TBL_NAME 16
 typedef struct RdmaRmResTbl {
-    char name[MAX_RMRESTBL_NAME_SZ];
+    char name[MAX_RM_TBL_NAME];
     QemuMutex lock;
     unsigned long *bitmap;
     size_t tbl_sz;
This page took 0.028897 seconds and 4 git commands to generate.