[media] omap3isp: stat: Remove impossible WARN_ON
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Thu, 2 Jan 2014 13:10:28 +0000 (10:10 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Sun, 25 May 2014 14:06:49 +0000 (11:06 -0300)
commit512698605dac47f1745dee435f2e3b9bc3346c2d
tree0f12bd4daf359fe1f7d7cb4d75b77c99ea8213d0
parent63746b5ff12a9ac64bd88a45b01b36e86f068d51
[media] omap3isp: stat: Remove impossible WARN_ON

The WARN_ON statements in the buffer allocation functions try to catch
conditions where buffers would have already been allocated. As the
buffers are explicitly freed right before being allocated this can't
happen.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Sakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/omap3isp/ispstat.c