]> www.infradead.org Git - users/willy/xarray.git/commit
media: cx231xx: remove redundant assignment to variable value
authorColin Ian King <colin.i.king@gmail.com>
Wed, 13 Nov 2024 14:42:55 +0000 (14:42 +0000)
committerHans Verkuil <hverkuil@xs4all.nl>
Mon, 2 Dec 2024 13:05:24 +0000 (14:05 +0100)
commit44cfae26a2681e52e24c8f6d7f7d4340e5e0848e
treeea48dc300e1192874110bb434028c9df232cabfb
parent8d46603eeeb4c6abff1d2e49f2a6ae289dac765e
media: cx231xx: remove redundant assignment to variable value

The variable value is being assigned a value that is never read
afterwards, the following if statement re-assigns it with a new
value in both paths of the 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@xs4all.nl>
drivers/media/usb/cx231xx/cx231xx-avcore.c