]> git.baikalelectronics.ru Git - kernel.git/commit
drm: mali-dp: remove unused variable
authorArnd Bergmann <arnd@arndb.de>
Tue, 28 Mar 2017 14:07:58 +0000 (16:07 +0200)
committerLiviu Dudau <Liviu.Dudau@arm.com>
Mon, 24 Apr 2017 09:45:34 +0000 (10:45 +0100)
commitd72850a739d5c851c536f9af3445c62d8a140ad5
treeae97fa4b8a7096334b70e1b68164a6b7e865c9d7
parenteb661b723b514909805e7bfc0f6c8f7c25d7ace4
drm: mali-dp: remove unused variable

The newly introduced function causes a harmless build warning:

drivers/gpu/drm/arm/malidp_planes.c: In function 'malidp_plane_atomic_print_state':
drivers/gpu/drm/arm/malidp_planes.c:98:23: error: unused variable 'mp' [-Werror=unused-variable]

The variable serves no purpose here and can be removed.

Fixes: 242f43b69c61 ("drm: mali-dp: add atomic_print_state for planes")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Liviu Dudau <Liviu.Dudau@arm.com>
Signed-off-by: Liviu Dudau <Liviu.Dudau@arm.com>
drivers/gpu/drm/arm/malidp_planes.c