From: Ralf Baechle Date: Tue, 29 Mar 2011 09:06:49 +0000 (+0200) Subject: MIPS: IP22: Fix GCC 4.6.0 build error X-Git-Tag: v2.6.39~63^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3be1afc8f64742552325d9f03c2b96339e822f9e;p=pandora-kernel.git 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 --- Reading git-diff-tree failed