• Arnd Bergmann's avatar
    drm: msm: remove unused variable · 6979cd54
    Arnd Bergmann authored
    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: default avatarArnd Bergmann <arnd@arndb.de>
    Fixes: 4016260b ("drm/msm: fix bug after preclose removal")
    Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
    6979cd54
msm_drv.c 21.2 KB