summaryrefslogtreecommitdiffstats
path: root/kernel/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/main.c')
-rw-r--r--kernel/main.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/kernel/main.c b/kernel/main.c
index 451fa55..3e50e28 100644
--- a/kernel/main.c
+++ b/kernel/main.c
@@ -744,12 +744,6 @@ static ssize_t nv_vgpu_vfio_dev_write(struct vfio_device *vdev, const char __use
if (pos >= 0x70000000000ULL && pos < 0x70000000000ULL + 4096) {
loff_t cfg_pos = pos - 0x70000000000ULL;
ssize_t ret;
- u8 wbuf[8];
-
- if (count <= sizeof(wbuf) && !copy_from_user(wbuf, buf, count))
- nv_vgpu_info(vgpu, "CFGWR off=0x%llx count=%zu data=%*phN",
- (unsigned long long)cfg_pos, count,
- (int)count, wbuf);
ret = nv_vgpu_config_write(vgpu, buf, count, &cfg_pos);
if (ret > 0)