target-mips/dsp_helper.c: Remove unused function get_DSPControl_24()
authorPeter Maydell <peter.maydell@linaro.org>
Sun, 14 Sep 2014 19:45:37 +0000 (20:45 +0100)
committerLeon Alrae <leon.alrae@imgtec.com>
Tue, 14 Oct 2014 12:29:14 +0000 (13:29 +0100)
The function get_DSPControl_24() is unused; remove it.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
target-mips/dsp_helper.c

index 94083fb42482970a6c4e99e92ee6bd290c9a6b87..2ea94a73bab39657ab05b15fb53854c1e2def65a 100644 (file)
@@ -76,15 +76,6 @@ static inline void set_DSPControl_24(uint32_t flag, int len, CPUMIPSState *env)
   env->active_tc.DSPControl |= (target_ulong)flag << 24;
 }
 
-static inline uint32_t get_DSPControl_24(int len, CPUMIPSState *env)
-{
-  uint32_t filter;
-
-  filter = (0x01 << len) - 1;
-
-  return (env->active_tc.DSPControl >> 24) & filter;
-}
-
 static inline void set_DSPControl_pos(uint32_t pos, CPUMIPSState *env)
 {
     target_ulong dspc;