summaryrefslogtreecommitdiff
path: root/target-mips/dsp_helper.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2014-09-14 20:45:37 +0100
committerLeon Alrae <leon.alrae@imgtec.com>2014-10-14 13:29:14 +0100
commit3414e93eb7fcc8d24500edbeddf94b1bd75ac46b (patch)
tree9e974a6ee2cbf4bbcd783ae1f82507d897497b3d /target-mips/dsp_helper.c
parentb231c103afced2eb27af9b6a771ab4b250afb93f (diff)
downloadqemu-3414e93eb7fcc8d24500edbeddf94b1bd75ac46b.tar.gz
qemu-3414e93eb7fcc8d24500edbeddf94b1bd75ac46b.tar.bz2
qemu-3414e93eb7fcc8d24500edbeddf94b1bd75ac46b.zip
target-mips/dsp_helper.c: Remove unused function get_DSPControl_24()
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>
Diffstat (limited to 'target-mips/dsp_helper.c')
-rw-r--r--target-mips/dsp_helper.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/target-mips/dsp_helper.c b/target-mips/dsp_helper.c
index 94083fb424..2ea94a73ba 100644
--- a/target-mips/dsp_helper.c
+++ b/target-mips/dsp_helper.c
@@ -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;