aboutsummaryrefslogtreecommitdiffstats
path: root/virtiotest.c
diff options
context:
space:
mode:
Diffstat (limited to 'virtiotest.c')
-rw-r--r--virtiotest.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/virtiotest.c b/virtiotest.c
index 77fbab5..484cc6b 100644
--- a/virtiotest.c
+++ b/virtiotest.c
@@ -118,15 +118,6 @@ static void virtio_init_fb(void)
create.height = mode->vdisplay;
stride = create.width * fmt->bpp / 8;
create.size = stride * create.height;
-#if 0
- __u32 target;
- __u32 bind;
- __u32 depth;
- __u32 array_size;
- __u32 last_level;
- __u32 nr_samples;
- __u32 flags;
-#endif
rc = drmIoctl(fd, DRM_IOCTL_VIRTGPU_RESOURCE_CREATE, &create);
if (rc < 0) {
fprintf(stderr, "DRM_IOCTL_VIRTGPU_RESOURCE_CREATE: %s\n",