mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
msm: vidc: fix a return value uninitialized issue
Fix the return value uninitialized issue in flush_buffer. Change-Id: Ie1ee94877e788dd8a4454ff8f96f566bc9c94902 Signed-off-by: Tapas Kumar Kundu <tkundu@codeaurora.org>
This commit is contained in:
parent
9ad222c284
commit
635bd3e07f
@ -6218,7 +6218,6 @@ struct msm_vidc_buffer *msm_comm_get_buffer_using_device_planes(
|
||||
int msm_comm_flush_vidc_buffer(struct msm_vidc_inst *inst,
|
||||
struct msm_vidc_buffer *mbuf)
|
||||
{
|
||||
int rc;
|
||||
struct vb2_buffer *vb;
|
||||
u32 port;
|
||||
|
||||
@ -6254,7 +6253,7 @@ int msm_comm_flush_vidc_buffer(struct msm_vidc_inst *inst,
|
||||
}
|
||||
mutex_unlock(&inst->bufq[port].lock);
|
||||
|
||||
return rc;
|
||||
return 0;
|
||||
}
|
||||
|
||||
int msm_comm_qbuf_cache_operations(struct msm_vidc_inst *inst,
|
||||
|
Loading…
x
Reference in New Issue
Block a user