diff options
author | Dave Airlie <airlied@redhat.com> | 2020-07-28 07:00:03 +0300 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2020-07-29 02:43:06 +0300 |
commit | 08bb88cfc4f0c5ac9053197ced139bf116a91280 (patch) | |
tree | d409d14529d971661be7c4db713f52d658fcb1f4 /drivers/gpu/drm/qxl | |
parent | 92be42392256b30296843aa4d987ad8d175c0e10 (diff) | |
download | linux-08bb88cfc4f0c5ac9053197ced139bf116a91280.tar.xz |
drm/ttm: make ttm_tt unbind function return void.
The return value just led to BUG_ON, I think if a driver wants
to BUG_ON here it can do it itself. (don't BUG_ON).
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200728040003.20398-1-airlied@gmail.com
Diffstat (limited to 'drivers/gpu/drm/qxl')
-rw-r--r-- | drivers/gpu/drm/qxl/qxl_ttm.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/qxl/qxl_ttm.c b/drivers/gpu/drm/qxl/qxl_ttm.c index 1d8e07b8b19e..bf9dc451583a 100644 --- a/drivers/gpu/drm/qxl/qxl_ttm.c +++ b/drivers/gpu/drm/qxl/qxl_ttm.c @@ -149,10 +149,9 @@ static int qxl_ttm_backend_bind(struct ttm_tt *ttm, return -1; } -static int qxl_ttm_backend_unbind(struct ttm_tt *ttm) +static void qxl_ttm_backend_unbind(struct ttm_tt *ttm) { /* Not implemented */ - return -1; } static void qxl_ttm_backend_destroy(struct ttm_tt *ttm) |