提交 1934a2ad 编写于 作者: D Dave Jones 提交者: Ben Skeggs

drm/nouveau: remove pointless assignment

self-assignment of a variable doesn't make a lot of sense.
Signed-off-by: NDave Jones <davej@fedoraproject.org>
Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
上级 212c444b
......@@ -982,7 +982,7 @@ nouveau_bo_move_m2mf(struct ttm_buffer_object *bo, int evict, bool intr,
bool no_wait_gpu, struct ttm_mem_reg *new_mem)
{
struct nouveau_drm *drm = nouveau_bdev(bo->bdev);
struct nouveau_channel *chan = chan = drm->ttm.chan;
struct nouveau_channel *chan = drm->ttm.chan;
struct nouveau_bo *nvbo = nouveau_bo(bo);
struct ttm_mem_reg *old_mem = &bo->mem;
int ret;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册