]> git.baikalelectronics.ru Git - kernel.git/commit
media: imon: Remove the unneeded result variable
authorye xingchen <ye.xingchen@zte.com.cn>
Tue, 30 Aug 2022 08:30:27 +0000 (10:30 +0200)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sat, 24 Sep 2022 05:50:12 +0000 (07:50 +0200)
commit20431880c9f443296172d7e419d6b0414f837384
tree9c5c9b1a0ac30f3b37d0a0606e0e092e65d31eaf
parentf268f37f8dd0e8555bbe6ba719099a0b052eb334
media: imon: Remove the unneeded result variable

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

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/rc/imon.c