[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)
commitf8562f218b634871563260bf06ef33611167fc7a
tree3914a7d2991edad67a56adc1e925981e5ffa2927
parentf294c2f70e5951e0c2033b9dd50ba4d19a5405f1
[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