]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit3f1608ef0ed84909710136c4b0f9a9317c40c7f4
tree0f12bd4daf359fe1f7d7cb4d75b77c99ea8213d0
parentf2cb9b5413de873b9260f041f778fd7dbf99995d
[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