MIPS: Octeon: Remove unused function cvmx_reset_octeon().
authorRalf Baechle <ralf@linux-mips.org>
Wed, 25 Mar 2015 10:44:09 +0000 (11:44 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 1 Apr 2015 15:21:44 +0000 (17:21 +0200)
As suggested by David Daney.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/octeon/cvmx.h

index 33db1c806b011fcc91f0b460fdc212e48fa03522..774bb45834cb0714d582df55fb0bf64e1c2ceea0 100644 (file)
@@ -436,14 +436,6 @@ static inline uint64_t cvmx_get_cycle_global(void)
 
 /***************************************************************************/
 
-static inline void cvmx_reset_octeon(void)
-{
-       union cvmx_ciu_soft_rst ciu_soft_rst;
-       ciu_soft_rst.u64 = 0;
-       ciu_soft_rst.s.soft_rst = 1;
-       cvmx_write_csr(CVMX_CIU_SOFT_RST, ciu_soft_rst.u64);
-}
-
 /* Return the number of cores available in the chip */
 static inline uint32_t cvmx_octeon_num_cores(void)
 {