Commit a6ab5ca3 authored by Ralf Baechle's avatar Ralf Baechle

MIPS: IP27: Fix GCC 4.6.0 build error.

  CC      arch/mips/sgi-ip27/ip27-hubio.o
arch/mips/sgi-ip27/ip27-hubio.c: In function 'hub_pio_map':
arch/mips/sgi-ip27/ip27-hubio.c:32:20: error: variable 'junk' set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 7da34c1d
...@@ -54,11 +54,8 @@ void __init setup_replication_mask(void) ...@@ -54,11 +54,8 @@ void __init setup_replication_mask(void)
static __init void set_ktext_source(nasid_t client_nasid, nasid_t server_nasid) static __init void set_ktext_source(nasid_t client_nasid, nasid_t server_nasid)
{ {
cnodeid_t client_cnode;
kern_vars_t *kvp; kern_vars_t *kvp;
client_cnode = NASID_TO_COMPACT_NODEID(client_nasid);
kvp = &hub_data(client_nasid)->kern_vars; kvp = &hub_data(client_nasid)->kern_vars;
KERN_VARS_ADDR(client_nasid) = (unsigned long)kvp; KERN_VARS_ADDR(client_nasid) = (unsigned long)kvp;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment