]> git.baikalelectronics.ru Git - kernel.git/commitdiff
MIPS: octeon: Remove unused functions
authorThomas Bogendoerfer <tsbogend@alpha.franken.de>
Wed, 20 Oct 2021 15:32:51 +0000 (17:32 +0200)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Sun, 24 Oct 2021 15:15:06 +0000 (17:15 +0200)
cvmx_helper_initialize_packet_io_local() is unused and after removing
it cvmx_pko_initialize_local() is also unused.

Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/cavium-octeon/executive/cvmx-helper.c
arch/mips/cavium-octeon/executive/cvmx-pko.c
arch/mips/include/asm/octeon/cvmx-helper.h
arch/mips/include/asm/octeon/cvmx-pko.h

index 6044ff47100225b2c456b71e5018866ac1ee6c13..b22f664e2d2978793e7556862551315171a869d9 100644 (file)
@@ -1055,16 +1055,6 @@ int cvmx_helper_initialize_packet_io_global(void)
 }
 EXPORT_SYMBOL_GPL(cvmx_helper_initialize_packet_io_global);
 
-/**
- * Does core local initialization for packet io
- *
- * Returns Zero on success, non-zero on failure
- */
-int cvmx_helper_initialize_packet_io_local(void)
-{
-       return cvmx_pko_initialize_local();
-}
-
 /**
  * Return the link state of an IPD/PKO port as returned by
  * auto negotiation. The result of this function may not match
index 7c4879e74318f0f4eeaad83941d5306d3c178740..ae8806e7bce2cedc376b45b3a52d19e78b8579b2 100644 (file)
@@ -229,20 +229,6 @@ void cvmx_pko_initialize_global(void)
        }
 }
 
-/*
- * This function does per-core initialization required by the PKO routines.
- * This must be called on all cores that will do packet output, and must
- * be called after the FPA has been initialized and filled with pages.
- *
- * Returns 0 on success
- *        !0 on failure
- */
-int cvmx_pko_initialize_local(void)
-{
-       /* Nothing to do */
-       return 0;
-}
-
 /*
  * Enables the packet output hardware. It must already be
  * configured.
index c6c99e28eefb91d17adcfd1887bb450ad01d0e3a..0cddce35291bd19a30edb52108cb17d7d0fd4939 100644 (file)
@@ -93,13 +93,6 @@ extern int cvmx_helper_ipd_and_packet_input_enable(void);
  */
 extern int cvmx_helper_initialize_packet_io_global(void);
 
-/**
- * Does core local initialization for packet io
- *
- * Returns Zero on success, non-zero on failure
- */
-extern int cvmx_helper_initialize_packet_io_local(void);
-
 /**
  * Returns the number of ports on the given interface.
  * The interface must be initialized before the port count
index 03fb64b13fbac49391c713d9c8387a02d17fa940..5fec8476e421238cef239cc4cea53fe5a13705f9 100644 (file)
@@ -277,7 +277,6 @@ typedef struct {
  * output system.
  */
 extern void cvmx_pko_initialize_global(void);
-extern int cvmx_pko_initialize_local(void);
 
 /**
  * Enables the packet output hardware. It must already be