projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27b8887
)
turnip: Drop a dead error checking path in device init.
author
Eric Anholt
<eric@anholt.net>
Wed, 16 Sep 2020 02:18:12 +0000
(19:18 -0700)
committer
Marge Bot
<eric+marge@anholt.net>
Mon, 19 Oct 2020 18:41:50 +0000
(18:41 +0000)
The only result != SUCCESS setters above all jump across to the fail
label.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6821>
src/freedreno/vulkan/tu_device.c
patch
|
blob
|
history
diff --git
a/src/freedreno/vulkan/tu_device.c
b/src/freedreno/vulkan/tu_device.c
index
c98ca46
..
b59da96
100644
(file)
--- a/
src/freedreno/vulkan/tu_device.c
+++ b/
src/freedreno/vulkan/tu_device.c
@@
-124,11
+124,6
@@
tu_physical_device_init(struct tu_physical_device *device,
tu_physical_device_get_supported_extensions(device, &device->supported_extensions);
- if (result != VK_SUCCESS) {
- vk_error(instance, result);
- goto fail;
- }
-
result = tu_wsi_init(device);
if (result != VK_SUCCESS) {
vk_startup_errorf(instance, result, "WSI init failure");