[media] s5p-mfc: Use WARN_ON(condition) directly
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 22 Jan 2013 04:00:06 +0000 (01:00 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 5 Feb 2013 19:32:02 +0000 (17:32 -0200)
commite82564475eab196b2e8a11572fff8e268329530e
treefd3452abd16b2fd7d006c2e26758159ebddddd3b
parent97466d0da3b08e087e517725ab56c7a2a2df706f
[media] s5p-mfc: Use WARN_ON(condition) directly

Use WARN_ON(condition) directly instead of wrapping around an if
condition.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/s5p-mfc/s5p_mfc.c