hw/rdma: Remove unused macros PG_DIR_SZ and PG_TBL_SZ
PATCH 1/1 hw/rdma: Remove unused macros PG_DIR_SZ and PG_TBL_SZ
They have apparently never been used.
Signed-off-by Thomas Huth <[email protected]>
--- hw/rdma/rdma_rm.c | 4 ---- 1 file changed, 4 deletions(-)
hw/rdma/rdma_rm.c +0 -4
@@ -23,10 +23,6 @@#include "rdma_backend.h" #include "rdma_rm.h" -/* Page directory and page tables */ -#define PG_DIR_SZ { TARGET_PAGE_SIZE / sizeof(__u64) } -#define PG_TBL_SZ { TARGET_PAGE_SIZE / sizeof(__u64) } -void rdma_format_device_counters (RdmaDeviceResources *dev_res,GString *buf) { g_string_append_printf(buf, "\ttx : %" PRId64 "\n",
Signature · 1 line
2.31.1
Quoted 6 lines · Thomas Huth
They have apparently never been used.
Signed-off-by Thomas Huth <[email protected]>--- hw/rdma/rdma_rm.c | 4 ---- 1 file changed, 4 deletions(-)
Reviewed-by Philippe Mathieu-Daudé <[email protected]>