diff options
author | Yang Yingliang <yangyingliang@huawei.com> | 2021-04-01 16:17:31 +0200 |
---|---|---|
committer | Karol Herbst <kherbst@redhat.com> | 2021-10-11 13:06:50 +0200 |
commit | 1e39f430575fbd3000dfe153c82ce8a41fec496a (patch) | |
tree | 8b5e576159c01a055f80ad842e4c1560e15fd531 /drivers/gpu/drm/nouveau/nouveau_gem.c | |
parent | drm/nouveau/mmu/gp100-: drop unneeded assignment in the if condition. (diff) | |
download | linux-1e39f430575fbd3000dfe153c82ce8a41fec496a.tar.xz linux-1e39f430575fbd3000dfe153c82ce8a41fec496a.zip |
drm/nouveau/gem: remove redundant semi-colon
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
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_gem.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_gem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_gem.c b/drivers/gpu/drm/nouveau/nouveau_gem.c index 5b27845075a1..d476940ee97c 100644 --- a/drivers/gpu/drm/nouveau/nouveau_gem.c +++ b/drivers/gpu/drm/nouveau/nouveau_gem.c @@ -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; |