]> git.baikalelectronics.ru Git - kernel.git/commit
[media] v4l: vsp1: Reuse local variable instead of recomputing it
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Sun, 2 Aug 2015 20:43:36 +0000 (17:43 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 19 Feb 2016 11:07:46 +0000 (09:07 -0200)
commitb261d19d28a3b84bb5b540085161936636acde4d
tree3914a7d2991edad67a56adc1e925981e5ffa2927
parent39c09f91acaee7fb72211d9be23bfeb21bbaa795
[media] v4l: vsp1: Reuse local variable instead of recomputing it

No need to waste CPU cycles when the value we need is already available.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/vsp1/vsp1_video.c