summaryrefslogtreecommitdiffstats
path: root/kernel/memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/memory.c')
-rw-r--r--kernel/memory.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/kernel/memory.c b/kernel/memory.c
index 710799d..cd81496 100644
--- a/kernel/memory.c
+++ b/kernel/memory.c
@@ -12,17 +12,6 @@
#include "nvidia-vgpu-vfio.h"
#include "memory.h"
-struct nv_vgpu_simple_mapping {
- u64 gpa;
- u64 size;
- u64 iova;
- struct page **pages;
- int page_count;
- bool pinned;
- bool mapped;
- struct list_head list;
-};
-
static LIST_HEAD(simple_mappings);
static DEFINE_MUTEX(simple_lock);