Commit e76038dc authored by Ralf Baechle's avatar Ralf Baechle
Browse files

[MIPS] Remove redundant initialization of sr_allocated.


Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent b4d05cb9
......@@ -976,8 +976,6 @@ void mips_srs_init(void)
#ifdef CONFIG_CPU_MIPSR2_SRS
shadow_registers.sr_supported = ((read_c0_srsctl() >> 26) & 0x0f) + 1;
printk ("%d MIPSR2 register sets available\n", shadow_registers.sr_supported);
#else
shadow_registers.sr_supported = 1;
#endif
shadow_registers.sr_allocated = 1; /* Set 0 used by kernel */
spin_lock_init(&shadow_registers.sr_lock);
......
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