diff options
author | Thomas Huth <thuth@redhat.com> | 2023-04-19 12:30:18 +0200 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2023-04-28 08:05:37 +0200 |
commit | c4c289cc5f6109a8c131943a7554679ffb42c03f (patch) | |
tree | 7cdafacd296faa8bc13ed15ddb759fbfd3b999e3 /hw | |
parent | 8afc43ea631ffe3de889b84028c3ce430047301d (diff) | |
download | qemu-c4c289cc5f6109a8c131943a7554679ffb42c03f.zip qemu-c4c289cc5f6109a8c131943a7554679ffb42c03f.tar.gz qemu-c4c289cc5f6109a8c131943a7554679ffb42c03f.tar.bz2 |
hw/rdma: Remove unused macros PG_DIR_SZ and PG_TBL_SZ
They have apparently never been used.
Message-Id: <20230419103018.627115-1-thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/rdma/rdma_rm.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/hw/rdma/rdma_rm.c b/hw/rdma/rdma_rm.c index cfd85de..038d564 100644 --- a/hw/rdma/rdma_rm.c +++ b/hw/rdma/rdma_rm.c @@ -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", |