Staging: media: Remove multiple assignments
authorBhumika Goyal <bhumirks@gmail.com>
Sat, 13 Feb 2016 06:19:35 +0000 (11:49 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 Feb 2016 00:34:08 +0000 (16:34 -0800)
commit12f2a7b900f0fa8e2f466630c8bc76444aaf9f68
tree3bb8c96ba0eb64498625f7ea82fe1cb130191f04
parentc611d48e65e25af2dc0176e9ac135116095ed03d
Staging: media: Remove multiple assignments

Remove multiple assignments by factorizing them.
Made a coccinelle script to match cases:
@@
identifier a,b;
constant c;
@@
-a=b=c;
+a=c;
+b=c;

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/media/davinci_vpfe/dm365_isif.c