diff options
author | Kenneth Graunke <[email protected]> | 2018-08-16 23:47:58 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-02-21 10:26:08 -0800 |
commit | aad70ad8a15f7e4c4b3f3258dcd80cf3f92c0a29 (patch) | |
tree | f20a908dc114c01120f0105385875f8ae8efc6bb /src/gallium/drivers/iris | |
parent | 2bd7d6fa71e62e3b9f77c20a5213a9fbcedc3415 (diff) |
iris: drop dead assignments
Eric's commit 9a6a6317629eb4c63d28860ded30778ac341ac63
Diffstat (limited to 'src/gallium/drivers/iris')
-rw-r--r-- | src/gallium/drivers/iris/iris_bufmgr.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/iris/iris_bufmgr.c b/src/gallium/drivers/iris/iris_bufmgr.c index aaeab521f97..450a28ae482 100644 --- a/src/gallium/drivers/iris/iris_bufmgr.c +++ b/src/gallium/drivers/iris/iris_bufmgr.c @@ -959,7 +959,6 @@ iris_bo_map_cpu(struct pipe_debug_callback *dbg, }; int ret = drm_ioctl(bufmgr->fd, DRM_IOCTL_I915_GEM_MMAP, &mmap_arg); if (ret != 0) { - ret = -errno; DBG("%s:%d: Error mapping buffer %d (%s): %s .\n", __FILE__, __LINE__, bo->gem_handle, bo->name, strerror(errno)); return NULL; @@ -1021,7 +1020,6 @@ iris_bo_map_wc(struct pipe_debug_callback *dbg, }; int ret = drm_ioctl(bufmgr->fd, DRM_IOCTL_I915_GEM_MMAP, &mmap_arg); if (ret != 0) { - ret = -errno; DBG("%s:%d: Error mapping buffer %d (%s): %s .\n", __FILE__, __LINE__, bo->gem_handle, bo->name, strerror(errno)); return NULL; |