Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 319dbc1b authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

media: staging: atomisp: get rid of an unused function



The function __need_realloc_mipi_buffer() is not used anywhere.

Acked-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 849267df
Loading
Loading
Loading
Loading
+0 −21
Original line number Diff line number Diff line
@@ -1159,27 +1159,6 @@ void atomisp_css_mmu_invalidate_tlb(void)
	ia_css_mmu_invalidate_cache();
}

/*
 * Check whether currently running MIPI buffer size fulfill
 * the requirement of the stream to be run
 */
bool __need_realloc_mipi_buffer(struct atomisp_device *isp)
{
	unsigned int i;

	for (i = 0; i < isp->num_of_streams; i++) {
		struct atomisp_sub_device *asd = &isp->asd[i];

		if (asd->streaming !=
				ATOMISP_DEVICE_STREAMING_ENABLED)
			continue;
		if (asd->mipi_frame_size < isp->mipi_frame_size)
			return true;
	}

	return false;
}

int atomisp_css_start(struct atomisp_sub_device *asd,
			enum atomisp_css_pipe_id pipe_id, bool in_reset)
{