From bf4aac07b5cc21517bde0bf132cba5e72955513c Mon Sep 17 00:00:00 2001 From: "Maciej W. Rozycki" Date: Sat, 28 Jun 2014 23:28:08 +0100 Subject: [PATCH] MIPS: c-r4k: Avoid duplicate CPU_74K/CPU_1074K checks Code in a switch statement in probe_pcache checks the CPU type twice unnecessarily for processor implementations that have the alias removal feature reported by the CP0 Config7.AR and Config7.IAR bits. This change rewrites the affected fragment avoiding the extraneous check and improving readability. Signed-off-by: Maciej W. Rozycki Cc: Steven J. Hill Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/7221/ Signed-off-by: Ralf Baechle --- Reading git-format-patch failed