drm: msm: remove unused variable
authorArnd Bergmann <arnd@arndb.de>
Sat, 16 Apr 2016 20:41:46 +0000 (22:41 +0200)
committerRob Clark <robdclark@gmail.com>
Sun, 8 May 2016 14:22:16 +0000 (10:22 -0400)
commit6979cd54c0667189bb0805c0fcebfef8afc5a191
treeeb068229de661eefaf1bc21f9088e168cdfaf99f
parent2755734390c18ca33d9755c9caa2685567563c19
drm: msm: remove unused variable

A recent cleanup removed the only user of the 'kms' variable in
msm_preclose(), causing a harmless compiler warning:

drivers/gpu/drm/msm/msm_drv.c: In function 'msm_preclose':
drivers/gpu/drm/msm/msm_drv.c:468:18: error: unused variable 'kms' [-Werror=unused-variable]

This removes the variable as well.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 4016260ba47a ("drm/msm: fix bug after preclose removal")
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/msm_drv.c