]> git.baikalelectronics.ru Git - kernel.git/commit
media: platform: samsung: remove redundant assignment to variable m
authorColin Ian King <colin.i.king@gmail.com>
Tue, 5 Apr 2022 17:59:59 +0000 (18:59 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sun, 24 Apr 2022 07:45:28 +0000 (08:45 +0100)
commit243621e87ae10310b021e10f97b6e298bcfbbd7c
treeb45c428b74f937231fe8a7de01b3b7c01edc2bee
parent0a29909099031ed01e6df8475446994133a7ff0e
media: platform: samsung: remove redundant assignment to variable m

The variable m is being assigned a value that is never read, it
is being re-assigned in both paths of the following if-statement.
The assignment is redundant and can be removed.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/platform/samsung/s5p-jpeg/jpeg-hw-s5p.c