mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 08:04:30 +00:00
modesetting: don't return a value from drmmode_bo_destroy
Signed-off-by: stefan11111 <stefan11111@shitposting.expert>
This commit is contained in:
committed by
Enrico Weigelt
parent
49c9aaac82
commit
db77a579c6
@@ -1009,7 +1009,7 @@ drmmode_crtc_flip(xf86CrtcPtr crtc, uint32_t fb_id, int x, int y,
|
||||
fb_id, flags, data);
|
||||
}
|
||||
|
||||
int
|
||||
void
|
||||
drmmode_bo_destroy(drmmode_ptr drmmode, drmmode_bo *bo)
|
||||
{
|
||||
int ret;
|
||||
@@ -1026,8 +1026,6 @@ drmmode_bo_destroy(drmmode_ptr drmmode, drmmode_bo *bo)
|
||||
if (ret == 0)
|
||||
bo->dumb = NULL;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
uint32_t
|
||||
|
||||
@@ -322,7 +322,7 @@ Bool drmmode_is_format_supported(ScrnInfoPtr scrn, uint32_t format,
|
||||
uint64_t modifier, Bool async_flip);
|
||||
int drmmode_bo_import(drmmode_ptr drmmode, drmmode_bo *bo,
|
||||
uint32_t *fb_id);
|
||||
int drmmode_bo_destroy(drmmode_ptr drmmode, drmmode_bo *bo);
|
||||
void drmmode_bo_destroy(drmmode_ptr drmmode, drmmode_bo *bo);
|
||||
uint32_t drmmode_bo_get_pitch(drmmode_bo *bo);
|
||||
uint32_t drmmode_bo_get_handle(drmmode_bo *bo);
|
||||
Bool drmmode_glamor_handle_new_screen_pixmap(drmmode_ptr drmmode);
|
||||
|
||||
Reference in New Issue
Block a user