diff options
author | Jes Sorensen <jes@sgi.com> | 2007-07-11 11:26:30 -0400 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2007-07-11 14:40:42 -0400 |
commit | 256a7e097ba3d1179867b4c9aba1b75fb32d44f2 (patch) | |
tree | 4d2a3095ddf1d95c816927554e859aab0c92aa13 /arch/ia64/sn/kernel/tiocx.c | |
parent | 012b7105cc816fb797eb1c161cdfc0052b5c3f53 (diff) |
[IA64] silence GCC ia64 unused variable warnings
Tell GCC to stop spewing out unnecessary warnings for unused variables
passed to functions as pointers for ia64 files.
Signed-off-by: Jes Sorensen <jes@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/sn/kernel/tiocx.c')
-rw-r--r-- | arch/ia64/sn/kernel/tiocx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/sn/kernel/tiocx.c b/arch/ia64/sn/kernel/tiocx.c index 493380b2c05..5a289e4de83 100644 --- a/arch/ia64/sn/kernel/tiocx.c +++ b/arch/ia64/sn/kernel/tiocx.c | |||
@@ -369,7 +369,7 @@ static void tio_corelet_reset(nasid_t nasid, int corelet) | |||
369 | 369 | ||
370 | static int is_fpga_tio(int nasid, int *bt) | 370 | static int is_fpga_tio(int nasid, int *bt) |
371 | { | 371 | { |
372 | u16 ioboard_type; | 372 | u16 uninitialized_var(ioboard_type); /* GCC be quiet */ |
373 | s64 rc; | 373 | s64 rc; |
374 | 374 | ||
375 | rc = ia64_sn_sysctl_ioboard_get(nasid, &ioboard_type); | 375 | rc = ia64_sn_sysctl_ioboard_get(nasid, &ioboard_type); |