[media] drivers/media/video/s5p-mfc/s5p_mfc.c: adjust double test
commitbb869368f36abecc427ffa94193439a05c0aac8d
authorJulia Lawall <Julia.Lawall@lip6.fr>
Thu, 12 Jan 2012 20:49:30 +0000 (12 17:49 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 18 Jan 2012 00:53:46 +0000 (17 22:53 -0200)
treeeeb155161e0ae74914862c6466be14718d204cf6
parentb1aa60892ecc1ba03185e7dfed99cc9202ef03b7
[media] drivers/media/video/s5p-mfc/s5p_mfc.c: adjust double test

Rewrite a duplicated test to test the correct value

The semantic match that finds this problem is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@@
expression E;
@@

(
* E
  || ... || E
|
* E
  && ... && E
)
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/s5p-mfc/s5p_mfc.c