This is consistent with the return type of the functions whose return
values we assign to it.
No functional change intended.
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3879>
struct amdgpu_screen_winsys *ws;
struct amdgpu_winsys *aws;
amdgpu_device_handle dev;
- uint32_t drm_major, drm_minor, r;
+ uint32_t drm_major, drm_minor;
+ int r;
ws = CALLOC_STRUCT(amdgpu_screen_winsys);
if (!ws)