[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: Sylwester Nawrocki <sylvester.nawrocki@gmail.com> Signed-off-by: Kamil Debski <k.debski@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
b730627ad6
commit
644469aefb
@ -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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user