From: Maciej W. Rozycki Date: Fri, 3 Apr 2015 22:24:56 +0000 (+0100) Subject: MIPS: math-emu: Remove `modeindex' macro X-Git-Tag: omap-for-v4.1/fixes-rc1~111^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2cfcf8a8313bd9bdb54d62ca4ea581f130869aca;p=pandora-kernel.git MIPS: math-emu: Remove `modeindex' macro Commit 56a64733 [MIPS: math-emu: Switch to using the MIPS rounding modes.] removed the distinction between hardware and emulator rounding mode encodings, the hardware encoding is now used in emulation as well. Complement the change and remove the `modeindex' macro previously used for indexing into encoding translation tables, it now does nothing and only obfuscates code by reinserting the value extracted from FCSR. Adjust comments accordingly. Signed-off-by: Maciej W. Rozycki Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/9680/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed