mips: check for dsp presence only once before save/restore
authorAurabindo Jayamohanan <mail@aurabindo.in>
Fri, 13 Sep 2019 12:02:17 +0000 (12:02 +0000)
committerPaul Burton <paul.burton@mips.com>
Mon, 7 Oct 2019 17:58:53 +0000 (10:58 -0700)
commit9662dd752c149a6d50f7b731263c09254c403b21
tree040d3d384e49ebd036d7596ebdbff89f0e5280d4
parent5dc76a96e95ae041c1d8e52714bd77576b35919b
mips: check for dsp presence only once before save/restore

{save,restore}_dsp() internally checks if the cpu has dsp support.
Therefore, explicit check is not required before calling them in
{save,restore}_processor_state()

Signed-off-by: Aurabindo Jayamohanan <mail@aurabindo.in>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: ralf@linux-mips.org
Cc: jhogan@kernel.org
Cc: alexios.zavras@intel.com
Cc: gregkh@linuxfoundation.org
Cc: armijn@tjaldur.nl
Cc: allison@lohutok.net
Cc: tglx@linutronix.de
Cc: linux-mips@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
arch/mips/power/cpu.c