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)
commit2dfe2c4f1720b6b0860d36d25107ffa57f0bbc63
tree9c5c9b1a0ac30f3b37d0a0606e0e092e65d31eaf
parent41fd1cb6151439b205ac7611883d85ae14250172
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