]> 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)
commit90a082c7deb198e2a57793d8280733dcafcb265f
tree3914a7d2991edad67a56adc1e925981e5ffa2927
parent512bf82fb807e7e047e96bf0fc5490cd99968f39
[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