#include "ia_css_stream_format.h"
 #include "ia_css_input_port.h"
 
-/* @brief Register size of a CSS MIPI frame for check during capturing.
- *
- * @param[in]  port    CSI-2 port this check is registered.
- * @param[in]  size_mem_words  The frame size in memory words (32B).
- * @return             Return the error in case of failure. E.g. MAX_NOF_ENTRIES REACHED
- *
- * Register size of a CSS MIPI frame to check during capturing. Up to
- *             IA_CSS_MIPI_SIZE_CHECK_MAX_NOF_ENTRIES entries per port allowed. Entries are reset
- *             when stream is stopped.
- *
- *
- */
-int
-ia_css_mipi_frame_enable_check_on_size(const enum mipi_port_id port,
-                                      const unsigned int       size_mem_words);
-
 /* @brief Calculate the size of a mipi frame.
  *
  * @param[in]  width           The width (in pixels) of the frame.
 
        return err;
 }
 
-/*
- * Check if a source port or TPG/PRBS ID is valid
- */
-
-#if !defined(ISP2401)
-int
-ia_css_mipi_frame_enable_check_on_size(const enum mipi_port_id port,
-                                      const unsigned int       size_mem_words)
-{
-       u32 idx;
-
-       int err = -EBUSY;
-
-       OP___assert(port < N_CSI_PORTS);
-       OP___assert(size_mem_words != 0);
-
-       for (idx = 0; idx < IA_CSS_MIPI_SIZE_CHECK_MAX_NOF_ENTRIES_PER_PORT &&
-            my_css.mipi_sizes_for_check[port][idx] != 0;
-            idx++) { /* do nothing */
-       }
-       if (idx < IA_CSS_MIPI_SIZE_CHECK_MAX_NOF_ENTRIES_PER_PORT) {
-               my_css.mipi_sizes_for_check[port][idx] = size_mem_words;
-               err = 0;
-       }
-
-       return err;
-}
-#endif
-
 void
 mipi_init(void)
 {