Commit b8340109 authored by Alan Cox's avatar Alan Cox Committed by Greg Kroah-Hartman
Browse files

atomisp: ia_css_bh_hmem_encode is a no-op so remove it



This is a do nothing function so we can replace it with nothing and eliminate it entirely.

Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ceb68bb6
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -176,15 +176,9 @@ size);
	{
		unsigned size   = stage->binary->info->mem_offsets.offsets.param->hmem0.bh.size;

		unsigned offset = stage->binary->info->mem_offsets.offsets.param->hmem0.bh.offset;

		if (size) {
			ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_bh() enter:\n");

			ia_css_bh_hmem_encode((struct sh_css_isp_bh_hmem_params *)
					&stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_HMEM0].address[offset],
					&params->s3a_config,
size);
			params->isp_params_changed = true;
			params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_HMEM0] = true;

+0 −6
Original line number Diff line number Diff line
@@ -175,15 +175,9 @@ size);
	{
		unsigned size   = stage->binary->info->mem_offsets.offsets.param->hmem0.bh.size;

		unsigned offset = stage->binary->info->mem_offsets.offsets.param->hmem0.bh.offset;

		if (size) {
			ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_bh() enter:\n");

			ia_css_bh_hmem_encode((struct sh_css_isp_bh_hmem_params *)
					&stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_HMEM0].address[offset],
					&params->s3a_config,
size);
			params->isp_params_changed = true;
			params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_HMEM0] = true;

+0 −6
Original line number Diff line number Diff line
@@ -175,15 +175,9 @@ size);
	{
		unsigned size   = stage->binary->info->mem_offsets.offsets.param->hmem0.bh.size;

		unsigned offset = stage->binary->info->mem_offsets.offsets.param->hmem0.bh.offset;

		if (size) {
			ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_bh() enter:\n");

			ia_css_bh_hmem_encode((struct sh_css_isp_bh_hmem_params *)
					&stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_HMEM0].address[offset],
					&params->s3a_config,
size);
			params->isp_params_changed = true;
			params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_HMEM0] = true;

+0 −11
Original line number Diff line number Diff line
@@ -63,15 +63,4 @@ ia_css_bh_encode(
	    uDIGIT_FITTING(from->ae_y_coef_b, 16, SH_CSS_AE_YCOEF_SHIFT);
}

void
ia_css_bh_hmem_encode(
	struct sh_css_isp_bh_hmem_params *to,
	const struct ia_css_3a_config *from,
	unsigned size)
{
	(void)size;
	(void)from;
	(void)to;
}

#endif
+0 −6
Original line number Diff line number Diff line
@@ -29,10 +29,4 @@ ia_css_bh_encode(
	const struct ia_css_3a_config *from,
	unsigned size);

void
ia_css_bh_hmem_encode(
	struct sh_css_isp_bh_hmem_params *to,
	const struct ia_css_3a_config *from,
	unsigned size);

#endif /* __IA_CSS_BH_HOST_H */