]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm: remove unused variable
authorArnd Bergmann <arnd@arndb.de>
Thu, 11 Feb 2016 09:10:00 +0000 (10:10 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 11 Feb 2016 10:48:39 +0000 (11:48 +0100)
commitc07d43e91b8a86131a2ffa9a2095c22af49fab2b
treedc7b06db2ddf847f977cae3b18164bf5ef27fbb9
parentf164996a3a640a8d86677ddb7e47dd42e355d9cd
drm/msm: remove unused variable

After the drm_device_is_unplugged() was removed, the 'dev' variable is now
unused, and we get a warning for that:

drivers/gpu/drm/msm/msm_fbdev.c: In function 'msm_fbdev_mmap':
drivers/gpu/drm/msm/msm_fbdev.c:65:21: error: unused variable 'dev' [-Werror=unused-variable]

This removes the variable as well.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 238497efac3b ("drm/msm: remove the drm_device_is_unplugged check")
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1455181810-3910161-1-git-send-email-arnd@arndb.de
drivers/gpu/drm/msm/msm_fbdev.c