mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-05 16:37:50 +00:00
media: saa7164: Remove redundant assignment of pointer t
The pointer t is being assigned a value that is never read, it is being updated later on inside the for-loop. The assignment is redundant and can be removed. Addresses-Coverity: ("Unused value") Signed-off-by: Colin Ian King <colin.king@canonical.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
5a3683d60e
commit
1c43c1ecd6
1 changed files with 0 additions and 2 deletions
|
@ -1057,8 +1057,6 @@ static int saa7164_api_dump_subdevs(struct saa7164_dev *dev, u8 *buf, int len)
|
|||
dprintk(DBGLVL_API, " numformats = 0x%x\n",
|
||||
vcoutputtermhdr->numformats);
|
||||
|
||||
t = (struct tmComResDescrHeader *)
|
||||
((struct tmComResDMATermDescrHeader *)(buf + idx));
|
||||
next_offset = idx + (vcoutputtermhdr->len);
|
||||
for (i = 0; i < vcoutputtermhdr->numformats; i++) {
|
||||
t = (struct tmComResDescrHeader *)
|
||||
|
|
Loading…
Reference in a new issue