From: Dave Jones Date: Tue, 17 Sep 2013 21:26:34 +0000 (-0400) Subject: drm/nouveau: remove pointless assignment X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1934a2add96bdd9922c6752b07244cbd11d6a7d7;p=openwrt%2Fstaging%2Fblogic.git drm/nouveau: remove pointless assignment self-assignment of a variable doesn't make a lot of sense. Signed-off-by: Dave Jones Signed-off-by: Ben Skeggs --- diff --git a/drivers/gpu/drm/nouveau/nouveau_bo.c b/drivers/gpu/drm/nouveau/nouveau_bo.c index 4172854d4365..c28a5a9ff053 100644 --- a/drivers/gpu/drm/nouveau/nouveau_bo.c +++ b/drivers/gpu/drm/nouveau/nouveau_bo.c @@ -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;