]> git.karo-electronics.de Git - linux-beck.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)
commit69843ba7f24950f8ef5dadacfbfbd08f53e3455b
tree58e3974ed0660c789666cbb2132b1357eeb6dd0d
parent81df448eb02db14128875a6cff90876b39422a6d
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