]> git.baikalelectronics.ru Git - kernel.git/commit
media: tuners: Remove the unneeded result variable
authorye xingchen <ye.xingchen@zte.com.cn>
Mon, 5 Sep 2022 09:02:03 +0000 (11:02 +0200)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sat, 24 Sep 2022 06:54:10 +0000 (08:54 +0200)
commite0f69daa3578a47ff203eafa5b051be26d912023
tree18c93e97ea21a69b067cd1e49ed5b1b5c255b79c
parenta303f8647df254371190d50ab1e46b053f716ad1
media: tuners: Remove the unneeded result variable

Return the value xc_send_i2c_data() directly instead of storing it in
another redundant variable.

Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/tuners/xc4000.c