media: coda: streamline framebuffer size calculation a bit
authorPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 28 Jun 2018 10:57:53 +0000 (06:57 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 25 Jul 2018 12:27:08 +0000 (08:27 -0400)
commit9e49ca530eebd6775410317aac8a68f88171f89c
tree9c51f4d41ce2abe325970171222de85be441a8b2
parent5c9072e8458f937a9c0a38736989d128ef990fc5
media: coda: streamline framebuffer size calculation a bit

Remove the intermediate width and height variables, the calculation is
simple enough.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/coda/coda-bit.c