Skip to content

Commit

Permalink
drm/nouveau/gem: remove redundant semi-colon
Browse files Browse the repository at this point in the history
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Signed-off-by: Karol Herbst <kherbst@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210401141731.1684236-1-yangyingliang@huawei.com
  • Loading branch information
Yang Yingliang authored and Karol Herbst committed Oct 11, 2021
1 parent 404046c commit 1e39f43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/nouveau/nouveau_gem.c
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ nouveau_gem_set_domain(struct drm_gem_object *gem, uint32_t read_domains,
struct ttm_buffer_object *bo = &nvbo->bo;
uint32_t domains = valid_domains & nvbo->valid_domains &
(write_domains ? write_domains : read_domains);
uint32_t pref_domains = 0;;
uint32_t pref_domains = 0;

if (!domains)
return -EINVAL;
Expand Down

0 comments on commit 1e39f43

Please sign in to comment.