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

Commit 644469ae authored by Sylwester Nawrocki's avatar Sylwester Nawrocki Committed by Mauro Carvalho Chehab
Browse files

[media] s5p-mfc: Remove unused s5p_mfc_get_decoded_status_v6() function



This patch fixes following compilation warning:
  CC [M]  drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.o
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:1733:12: warning: ‘s5p_mfc_get_decoded_status_v6’ defined but not used
It assigns existing but not used s5p_mfc_get_dec_status_v6() function to the
get_dec_status callback. It seems the get_dec_status callback is not used
anyway, as there is no corresponding s5p_mfc_hw_call().

Signed-off-by: default avatarSylwester Nawrocki <sylvester.nawrocki@gmail.com>
Signed-off-by: default avatarKamil Debski <k.debski@samsung.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent b730627a
Loading
Loading
Loading
Loading
+1 −7
Original line number Original line Diff line number Diff line
@@ -62,12 +62,6 @@ static void s5p_mfc_release_dec_desc_buffer_v6(struct s5p_mfc_ctx *ctx)
	/* NOP */
	/* NOP */
}
}


static int s5p_mfc_get_dec_status_v6(struct s5p_mfc_dev *dev)
{
	/* NOP */
	return -1;
}

/* Allocate codec buffers */
/* Allocate codec buffers */
static int s5p_mfc_alloc_codec_buffers_v6(struct s5p_mfc_ctx *ctx)
static int s5p_mfc_alloc_codec_buffers_v6(struct s5p_mfc_ctx *ctx)
{
{
@@ -1713,7 +1707,7 @@ static int s5p_mfc_get_dspl_status_v6(struct s5p_mfc_dev *dev)
	return mfc_read(dev, S5P_FIMV_D_DISPLAY_STATUS_V6);
	return mfc_read(dev, S5P_FIMV_D_DISPLAY_STATUS_V6);
}
}


static int s5p_mfc_get_decoded_status_v6(struct s5p_mfc_dev *dev)
static int s5p_mfc_get_dec_status_v6(struct s5p_mfc_dev *dev)
{
{
	return mfc_read(dev, S5P_FIMV_D_DECODED_STATUS_V6);
	return mfc_read(dev, S5P_FIMV_D_DECODED_STATUS_V6);
}
}