drm/nouveau/dmem: remove set but not used variable 'drm'
authorYueHaibing <yuehaibing@huawei.com>
Thu, 21 Feb 2019 03:38:51 +0000 (03:38 +0000)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 21 Mar 2019 23:57:58 +0000 (09:57 +1000)
commit2219c9ee922d9a0548b44fb82342166d9d9fdbc9
tree079db6f328767ee7a2dfb3a03147c39954c803d3
parenta788ade4f6e0302710f89b2a3534346df752072d
drm/nouveau/dmem: remove set but not used variable 'drm'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/gpu/drm/nouveau/nouveau_dmem.c: In function 'nouveau_dmem_free':
drivers/gpu/drm/nouveau/nouveau_dmem.c:103:22: warning:
 variable 'drm' set but not used [-Wunused-but-set-variable]
  struct nouveau_drm *drm;
                      ^

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_dmem.c