]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: IP22: Fix GCC 4.6.0 build error
authorRalf Baechle <ralf@linux-mips.org>
Tue, 29 Mar 2011 09:06:49 +0000 (11:06 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 10 May 2011 17:15:22 +0000 (18:15 +0100)
commit5673b7c513e08eed5c313ec8629b72727ba7598b
tree9533a3413f9cc4e6828a3b2360d9bf5420057fa5
parent17fe2aa5ecf6701224865489bcdcf533d482c140
MIPS: IP22: Fix GCC 4.6.0 build error

  CC      arch/mips/sgi-ip22/ip22-platform.o
arch/mips/sgi-ip22/ip22-platform.c: In function 'sgiseeq_devinit':
arch/mips/sgi-ip22/ip22-platform.c:135:15: error: variable 'tmp' set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors

While at it rename the variable to pbdma for readability; there is a
local variable tmp of different type being used in two nested blocks.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/sgi-ip22/ip22-platform.c