mirror of
https://github.com/torvalds/linux.git
synced 2026-06-01 11:03:43 +02:00
media: meson: vdec: remove redundant initialization of variable reg_cur
The variable reg_cur is being initialized with a value that is never
read, it is being updated later on. The assignment is redundant and
can be removed.
Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
parent
4c6178f31e
commit
2c1e75f5ba
|
|
@ -183,7 +183,7 @@ int amvdec_set_canvases(struct amvdec_session *sess,
|
|||
u32 pixfmt = sess->pixfmt_cap;
|
||||
u32 width = ALIGN(sess->width, 32);
|
||||
u32 height = ALIGN(sess->height, 32);
|
||||
u32 reg_cur = reg_base[0];
|
||||
u32 reg_cur;
|
||||
u32 reg_num_cur = 0;
|
||||
u32 reg_base_cur = 0;
|
||||
int i = 0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user