]> git.baikalelectronics.ru Git - kernel.git/commit
fbdev: sh_mobile_lcdc: reduce scope of a variable
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Thu, 5 May 2011 16:32:36 +0000 (16:32 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 24 May 2011 06:42:04 +0000 (15:42 +0900)
commit17afe736f48e252804f317927ec97e9ccd015766
tree58e3974ed0660c789666cbb2132b1357eeb6dd0d
parent08ad21bef6572b188583744acde29a1945050961
fbdev: sh_mobile_lcdc: reduce scope of a variable

The "ret" variable in sh_mobile_lcdc_start() is only used at one
location, move its definition to the inner-most scope.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/video/sh_mobile_lcdcfb.c